18 lines
406 B
Docker
Executable File
18 lines
406 B
Docker
Executable File
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/
|
|
|
|
VOLUME /root/.caddy
|
|
|
|
EXPOSE 20018
|
|
|
|
ENTRYPOINT /bin/gen_caddyfile_and_start.sh
|