This commit is contained in:
Bel LaPointe
2018-10-05 18:59:02 -06:00
commit 53812eeda3
10 changed files with 230 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM alpine:3.6
LABEL description="Docker image for caddy+forwardproxy plugin."
LABEL maintainer="SergeyFrolov@colorado.edu"
RUN apk add --no-cache ca-certificates bash curl stunnel
RUN curl --fail https://getcaddy.com > /get-caddy.sh
RUN bash /get-caddy.sh personal http.forwardproxy
COPY gen_caddyfile_and_start.sh /bin/
COPY stunnel.sh /stunnel.sh
VOLUME /root/.caddy
EXPOSE 80 443 2015
ENTRYPOINT /bin/gen_caddyfile_and_start.sh