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 5
5
#
6
6
7
7
# Pull base image.
8
- FROM jlesage/baseimage:alpine-3.12 -v2.4.5
8
+ FROM jlesage/baseimage:alpine-3.15 -v2.4.6
9
9
10
10
# Docker image version is provided via build arg.
11
11
ARG DOCKER_IMAGE_VERSION=unknown
@@ -210,11 +210,11 @@ RUN \
210
210
curl -# -L "https://bootstrap.pypa.io/get-pip.py" | python3 && \
211
211
# Then install certbot.
212
212
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 && \
218
218
# Cleanup.
219
219
del-pkg build-dependencies && \
220
220
rm -rf /tmp/* /tmp/.[!.]*
@@ -228,6 +228,7 @@ RUN \
228
228
patch \
229
229
yarn \
230
230
git \
231
+ python2 \
231
232
python3 \
232
233
npm \
233
234
bash \
You can’t perform that action at this time.
0 commit comments