Merge pull request #1254 from zuohuadong/patch-22
add git & Chinese users friendly.
This commit is contained in:
commit
c5005f54f7
|
@ -1,17 +1,15 @@
|
|||
FROM golang
|
||||
FROM zuohuadong/caddy:alpine
|
||||
|
||||
|
||||
MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
|
||||
|
||||
ARG plugins="git"
|
||||
ARG plugins="cors"
|
||||
|
||||
## If you come frome china, please ues it.
|
||||
## ARG plugins="cors cgi cloudflare azure linode"
|
||||
|
||||
# RUN echo "172.217.6.127 golang.org" >> /etc/hosts
|
||||
|
||||
RUN go get github.com/abiosoft/caddyplug/caddyplug \
|
||||
&& caddyplug install-caddy \
|
||||
&& caddyplug install git
|
||||
RUN caddy --version
|
||||
RUN caddyplug install ${plugins}
|
||||
|
||||
|
||||
EXPOSE 80 443 2015
|
||||
|
||||
|
|
Loading…
Reference in New Issue