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 \
|
||||
openssh \
|
||||
git \
|
||||
build-base && \
|
||||
go get github.com/abiosoft/caddyplug/caddyplug \
|
||||
build-base \
|
||||
&& 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 \
|
||||
apk del build-base
|
||||
|
||||
|
|
Loading…
Reference in New Issue