Skip to content

Commit

Permalink
Remove obsolete nsswitch fix
Browse files Browse the repository at this point in the history
Fix #273
  • Loading branch information
francislavoie committed Jan 17, 2023
1 parent aca93ae commit bec2cd6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bec2cd6

Please sign in to comment.