File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 55#
66
77# Pull base image.
8- FROM jlesage/baseimage:alpine-3.12 -v2.4.5
8+ FROM jlesage/baseimage:alpine-3.15 -v2.4.6
99
1010# Docker image version is provided via build arg.
1111ARG DOCKER_IMAGE_VERSION=unknown
@@ -210,11 +210,11 @@ RUN \
210210 curl -# -L "https://bootstrap.pypa.io/get-pip.py" | python3 && \
211211 # Then install certbot.
212212 CARGO_HOME=/tmp/.cargo pip install --no-cache-dir --prefix=/usr certbot && \
213- find /usr/lib/python3.8 /site-packages -type f -name "*.so" -exec strip {} ';' && \
214- find /usr/lib/python3.8 /site-packages -type f -name "*.h" -delete && \
215- find /usr/lib/python3.8 /site-packages -type f -name "*.c" -delete && \
216- find /usr/lib/python3.8 /site-packages -type f -name "*.exe" -delete && \
217- find /usr/lib/python3.8 /site-packages -type d -name tests -print0 | xargs -0 rm -r && \
213+ find /usr/lib/python3.9 /site-packages -type f -name "*.so" -exec strip {} ';' && \
214+ find /usr/lib/python3.9 /site-packages -type f -name "*.h" -delete && \
215+ find /usr/lib/python3.9 /site-packages -type f -name "*.c" -delete && \
216+ find /usr/lib/python3.9 /site-packages -type f -name "*.exe" -delete && \
217+ find /usr/lib/python3.9 /site-packages -type d -name tests -print0 | xargs -0 rm -r && \
218218 # Cleanup.
219219 del-pkg build-dependencies && \
220220 rm -rf /tmp/* /tmp/.[!.]*
@@ -228,6 +228,7 @@ RUN \
228228 patch \
229229 yarn \
230230 git \
231+ python2 \
231232 python3 \
232233 npm \
233234 bash \
You can’t perform that action at this time.
0 commit comments