Skip to content

Commit

Permalink
Dockerfile: remove nsswitch.conf check
Browse files Browse the repository at this point in the history
  • Loading branch information
dudleycarr committed Dec 15, 2023
1 parent 1d183d9 commit 97bbc92
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ EXPOSE 4150 4151 4160 4161 4170 4171
RUN mkdir -p /data
WORKDIR /data

# set up nsswitch.conf for Go's "netgo" implementation
# https://github.com/golang/go/issues/35305
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf

# Optional volumes (explicitly configure with "docker run -v ...")
# /data - used by nsqd for persistent storage across restarts
# /etc/ssl/certs - for SSL Root CA certificates from host
Expand Down

0 comments on commit 97bbc92

Please sign in to comment.