blackbirdchess-docker-dev/caddy/Dockerfile
zuohuadong 525c4313a0 use caddy in Apache-2.0
see:   https://caddyserver.com/products/licenses

so, I use caddypulg, it is  free
2017-10-11 19:48:07 +08:00

21 lines
382 B
Docker

FROM golang
ARG version="0.10.9"
ARG plugins="git"
## If you come frome china, please ues it.
# 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
EXPOSE 80 443 2015
WORKDIR /var/www/public
CMD ["/usr/bin/caddy", "-conf", "/etc/Caddyfile"]