From 97bbc924470e059d918837f91e9b30b717d3c1eb Mon Sep 17 00:00:00 2001 From: Dudley Carr Date: Thu, 14 Dec 2023 16:15:50 -0800 Subject: [PATCH] Dockerfile: remove nsswitch.conf check --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd3d25e0f..d8a6707d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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