We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9adbc6 commit a622f1eCopy full SHA for a622f1e
changelog.d/18389.docker
@@ -0,0 +1 @@
1
+Docker image can now be built with `PYTHON_VERSION` other than 3.11.
docker/Dockerfile
@@ -118,7 +118,7 @@ RUN \
118
###
119
### Stage 2: runtime dependencies download for ARM64 and AMD64
120
121
-FROM --platform=$BUILDPLATFORM docker.io/library/debian:${DEBIAN_VERSION} AS runtime-deps
+FROM --platform=$BUILDPLATFORM docker.io/library/python:${PYTHON_VERSION}-slim-${DEBIAN_VERSION} AS runtime-deps
122
123
# Tell apt to keep downloaded package files, as we're using cache mounts.
124
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
0 commit comments