From bec2cd65e330ff7a8c7ecba12051b424bbfe98c7 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 17 Jan 2023 06:31:59 -0500 Subject: [PATCH] Remove obsolete nsswitch fix Fix #273 --- Dockerfile.tmpl | 4 ---- 1 file changed, 4 deletions(-) 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