Skip to content

Commit b515f11

Browse files
committed
Updated reverse-proxy base image and Dockerfile
1 parent cb6f45c commit b515f11

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

reverse-proxy/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
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

44
RUN \
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

1111
COPY Caddyfile /etc/caddy/
1212
COPY 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
2323
RUN /usr/local/proxy-env/bin/python3 -m compileall /src/gen-caddyfile.py && mv /src/__pycache__/*.pyc /usr/local/lib/

0 commit comments

Comments
 (0)