switch to Python 3.12

This commit is contained in:
2025-02-21 11:30:12 +03:00
parent d8c7de04a5
commit f0d9f41a3d
4 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
ARG PYTHONTAG=3.11.11-slim-bookworm
ARG PYTHONTAG=3.12.9-slim-bookworm
FROM docker.io/python:${PYTHONTAG} AS base-upstream
FROM base-upstream AS base-intermediate
@@ -241,7 +241,7 @@ RUN set -f ; \
done
## "docker.io/python"-specific cleanup
RUN rm -f /root/.wget-hsts
RUN env -C /root rm -f .bash_history .python_history .wget-hsts
RUN pip-env.sh pip list --format freeze \
| grep -F '==' | awk -F= '{print $1}' \