File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM caddy:2.9.1 -alpine
2- LABEL org.opencontainers.image.source https://github.com/offspot/container-images
1+ FROM docker.io/library/ caddy:2.10 -alpine
2+ LABEL org.opencontainers.image.source= https://github.com/offspot/container-images
33
44RUN \
55 # openssl required to generate cert when CAPTIVE_PORTAL is on
66 apk add --no-cache dumb-init python3 \
77 && python3 -m venv /usr/local/proxy-env \
88 && /usr/local/proxy-env/bin/pip3 install --no-cache-dir -U pip \
9- && /usr/local/proxy-env/bin/pip3 install --no-cache-dir Jinja2==3.1.2
9+ && /usr/local/proxy-env/bin/pip3 install --no-cache-dir Jinja2==3.1.6
1010
1111COPY Caddyfile /etc/caddy/
1212COPY gen-caddyfile.py /src/
1313
14- ENV FQDN "generic.hotspot"
15- ENV WELCOME_FQDN "goto.generic.hotspot"
16- ENV METRICS_LOGS_DIR "/var/log/metrics"
14+ ENV FQDN= "generic.hotspot"
15+ ENV WELCOME_FQDN= "goto.generic.hotspot"
16+ ENV METRICS_LOGS_DIR= "/var/log/metrics"
1717# set this when using reverse proxy in online demo to trigger real SSL certs usage
18- ENV IS_ONLINE_DEMO ""
18+ ENV IS_ONLINE_DEMO= ""
1919# read SSL certs require an email address to send expiration notice to
20- ENV DEMO_TLS_EMAIL "dev@kiwix.org"
20+ ENV DEMO_TLS_EMAIL= "dev@kiwix.org"
2121
2222# store python bytecode in image
2323RUN /usr/local/proxy-env/bin/python3 -m compileall /src/gen-caddyfile.py && mv /src/__pycache__/*.pyc /usr/local/lib/
You can’t perform that action at this time.
0 commit comments