Make bookworm the python Dockerfile parent default image

This was still set to bullseye which isn't a problem for our Zuul jobs
as they always specify what version to use. However, local builds would
build bullseye by default which isn't super useful now that the vast
majority of images are built on top of bookworm. Swap things around to
avoid potential confusion.

Change-Id: If68e32a358268a423e35e44e3150115cd1da6f8c
This commit is contained in:
Clark Boylan 2023-10-18 13:34:37 -07:00
parent c17fe1155a
commit 526501db05
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
# Comment to force rebuilds Wed Oct 4 03:32:07 PM UTC 2023
ARG PYTHON_VERSION=3.11
ARG DEBIAN_VERSION=bullseye
ARG DEBIAN_VERSION=bookworm
ARG IMAGE_FLAVOR=slim-
FROM docker.io/library/python:${PYTHON_VERSION}-${IMAGE_FLAVOR}${DEBIAN_VERSION}
# Necessary to use this var in the RUN below

View File

@ -16,7 +16,7 @@
# Comment to force rebuilds Wed Oct 4 03:32:07 PM UTC 2023
ARG PYTHON_VERSION=3.11
ARG DEBIAN_VERSION=bullseye
ARG DEBIAN_VERSION=bookworm
FROM docker.io/library/python:${PYTHON_VERSION}-slim-${DEBIAN_VERSION} as fake-python
WORKDIR /tmp

View File

@ -14,7 +14,7 @@
# limitations under the License.
ARG PYTHON_VERSION=3.11
ARG DEBIAN_VERSION=bullseye
ARG DEBIAN_VERSION=bookworm
FROM docker.io/opendevorg/python-builder:${PYTHON_VERSION}-${DEBIAN_VERSION} as builder
ARG PYTHON_VERSION