mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 20:29:36 +08:00
Update Dockerfile
This commit is contained in:
parent
aafe3d5d03
commit
5b452663cb
@ -15,7 +15,7 @@ RUN set -ex \
|
|||||||
&& chmod +x /root/caddy.sh \
|
&& chmod +x /root/caddy.sh \
|
||||||
&& /root/caddy.sh \
|
&& /root/caddy.sh \
|
||||||
&& rm -fv /root/caddy.sh \
|
&& rm -fv /root/caddy.sh \
|
||||||
&& caddy version
|
&& caddy -version
|
||||||
|
|
||||||
# set up nsswitch.conf for Go's "netgo" implementation
|
# set up nsswitch.conf for Go's "netgo" implementation
|
||||||
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
||||||
|
@ -16,7 +16,7 @@ RUN set -ex \
|
|||||||
&& chmod +x /root/caddy.sh \
|
&& chmod +x /root/caddy.sh \
|
||||||
&& /root/caddy.sh "${TARGETPLATFORM}" \
|
&& /root/caddy.sh "${TARGETPLATFORM}" \
|
||||||
&& rm -fv /root/caddy.sh \
|
&& rm -fv /root/caddy.sh \
|
||||||
&& caddy version
|
&& caddy -version
|
||||||
|
|
||||||
# set up nsswitch.conf for Go's "netgo" implementation
|
# set up nsswitch.conf for Go's "netgo" implementation
|
||||||
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
# see: https://github.com/docker-library/golang/blob/1eb096131592bcbc90aa3b97471811c798a93573/1.14/alpine3.12/Dockerfile#L9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user