Skip to content

Commit 158d92b

Browse files
authored
Merge pull request #3526 from consideRatio/pr/py312
Use python 3.12 instead of 3.11 in built images
2 parents ce70501 + 04ef841 commit 158d92b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ci/refreeze

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for img in ${IMAGES}; do
1313
--volume="$PWD:/io" \
1414
--workdir=/io \
1515
--user=root \
16-
python:3.11-bookworm \
16+
python:3.12-bookworm \
1717
sh -c 'pip install pip-tools==7.* && pip-compile --allow-unsafe --strip-extras --upgrade'
1818
popd
1919
done

images/hub/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# NOTE: If the image version is updated, also update it in ci/refreeze and
1111
# singleuser-sample's Dockerfile!
1212
#
13-
FROM python:3.11-bookworm as build-stage
13+
FROM python:3.12-bookworm as build-stage
1414

1515
# Build wheels
1616
#
@@ -38,7 +38,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
3838
# This stage is built and published as quay.io/jupyterhub/k8s-hub-slim. It is meant to
3939
# provide no non-essential packages.
4040
#
41-
FROM python:3.11-slim-bookworm as slim-stage
41+
FROM python:3.12-slim-bookworm as slim-stage
4242
ENV DEBIAN_FRONTEND=noninteractive
4343

4444
ARG NB_USER=jovyan \

images/secret-sync/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-alpine
1+
FROM python:3.12-alpine
22

33
# VULN_SCAN_TIME=2024-09-09_05:05:19
44

images/singleuser-sample/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# NOTE: If the image version is updated, also update it in ci/refreeze and
1111
# hub's Dockerfile!
1212
#
13-
FROM python:3.11-bookworm as build-stage
13+
FROM python:3.12-bookworm as build-stage
1414

1515
# Build wheels
1616
#
@@ -30,7 +30,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
3030
# The final stage
3131
# ---------------
3232
#
33-
FROM python:3.11-slim-bookworm
33+
FROM python:3.12-slim-bookworm
3434
ENV DEBIAN_FRONTEND=noninteractive
3535

3636
ENV NB_USER=jovyan \

0 commit comments

Comments
 (0)