Unverified Commit 5bcb99df authored by huadong zuo's avatar huadong zuo Committed by GitHub

add git & Chinese users friendly.

China can not access  golang.org.
parent 9877f045
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment