Update Dockerfile

This commit is contained in:
Teddysun 2021-08-26 15:28:10 +09:00
parent 0cb2a78ac2
commit c112c2990b
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,7 @@ RUN set -ex \
&& apk add --no-cache tzdata ca-certificates mailcap \
&& chmod +x /root/caddy.sh \
&& /root/caddy.sh \
&& rm -fv /root/caddy.sh \
&& caddy -version
&& rm -fv /root/caddy.sh
# set up nsswitch.conf for Go's "netgo" implementation
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9

View File

@ -15,8 +15,7 @@ RUN set -ex \
&& apk add --no-cache tzdata ca-certificates mailcap \
&& chmod +x /root/caddy.sh \
&& /root/caddy.sh "${TARGETPLATFORM}" \
&& rm -fv /root/caddy.sh \
&& caddy -version
&& rm -fv /root/caddy.sh
# set up nsswitch.conf for Go's "netgo" implementation
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9