diff --git a/2.6/alpine/Dockerfile b/2.6/alpine/Dockerfile index 1ff2f38..d79b7df 100644 --- a/2.6/alpine/Dockerfile +++ b/2.6/alpine/Dockerfile @@ -33,10 +33,6 @@ RUN set -eux; \ chmod +x /usr/bin/caddy; \ caddy version -# set up nsswitch.conf for Go's "netgo" implementation -# - https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9 -RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf - # See https://caddyserver.com/docs/conventions#file-locations for details ENV XDG_CONFIG_HOME /config ENV XDG_DATA_HOME /data diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 348a734..31fee04 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -33,10 +33,6 @@ RUN set -eux; \ chmod +x /usr/bin/caddy; \ caddy version -# set up nsswitch.conf for Go's "netgo" implementation -# - https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9 -RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf - # See https://caddyserver.com/docs/conventions#file-locations for details ENV XDG_CONFIG_HOME /config ENV XDG_DATA_HOME /data