working
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user