File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8
8
ARG DOCKER_IMAGE_VERSION=
9
9
10
10
# Define software versions.
11
- ARG OPENRESTY_VERSION=1.19.9 .1
11
+ ARG OPENRESTY_VERSION=1.21.4 .1
12
12
ARG CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.11
13
13
ARG NGINX_PROXY_MANAGER_VERSION=2.9.21
14
14
ARG NGINX_HTTP_GEOIP2_MODULE_VERSION=3.3
@@ -128,7 +128,10 @@ COPY rootfs/ /
128
128
COPY --from=nginx /tmp/openresty-install/ /
129
129
COPY --from=npm /tmp/nginx-proxy-manager-install/ /
130
130
COPY --from=bcrypt-tool /tmp/go/bin/bcrypt-tool /usr/bin/
131
- COPY --from=certbot /tmp/certbot-install/ /
131
+ COPY --from=certbot /tmp/certbot-install/ /opt/certbot
132
+ RUN curl -L 'https://bootstrap.pypa.io/get-pip.py' | python3 \
133
+ && python3 -m venv /opt/certbot/ \
134
+ && ln -s /opt/certbot/bin/certbot /usr/bin/certbot
132
135
COPY --from=cs-openresty-bouncer /tmp/crowdsec-openresty-bouncer-install/ /
133
136
134
137
# Set internal environment variables.
You can’t perform that action at this time.
0 commit comments