Skip to content

Commit

Permalink
Merge pull request #1478 from dudleycarr/fix-docker-build
Browse files Browse the repository at this point in the history
Dockerfile: remove nsswitch.conf check
  • Loading branch information
mreiferson authored Dec 26, 2023
2 parents 1d183d9 + 97bbc92 commit 2a5fb3e
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 2a5fb3e

Please sign in to comment.