fix caddy failed download (#1977)
* fix caddy failed download * RUN command inline
This commit is contained in:
parent
99f7e65c99
commit
9e4dfa2a0c
@ -5,8 +5,11 @@ LABEL maintainer="Huadong Zuo <admin@zuohuadong.cn>"
|
|||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
openssh \
|
openssh \
|
||||||
git \
|
git \
|
||||||
build-base && \
|
build-base \
|
||||||
go get github.com/abiosoft/caddyplug/caddyplug \
|
&& mkdir -p $GOPATH/src/golang.org/x/ \
|
||||||
|
&& cd $GOPATH/src/golang.org/x/ \
|
||||||
|
&& git clone https://github.com/golang/sys.git sys \
|
||||||
|
&& go get github.com/abiosoft/caddyplug/caddyplug \
|
||||||
&& caddyplug install-caddy \
|
&& caddyplug install-caddy \
|
||||||
apk del build-base
|
apk del build-base
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user