mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update Dockerfile
This commit is contained in:
parent
13d2a17df8
commit
aafe3d5d03
@ -14,7 +14,8 @@ RUN set -ex \
|
||||
&& apk add --no-cache tzdata ca-certificates mailcap \
|
||||
&& chmod +x /root/caddy.sh \
|
||||
&& /root/caddy.sh \
|
||||
&& rm -fv /root/caddy.sh
|
||||
&& rm -fv /root/caddy.sh \
|
||||
&& caddy version
|
||||
|
||||
# set up nsswitch.conf for Go's "netgo" implementation
|
||||
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
||||
|
@ -15,7 +15,8 @@ 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
|
||||
&& rm -fv /root/caddy.sh \
|
||||
&& caddy version
|
||||
|
||||
# set up nsswitch.conf for Go's "netgo" implementation
|
||||
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
||||
|
@ -51,4 +51,3 @@ fi
|
||||
echo "Download binary file: ${CADDY_FILE} completed"
|
||||
|
||||
chmod +x /usr/bin/caddy
|
||||
/usr/bin/caddy version
|
||||
|
Loading…
x
Reference in New Issue
Block a user