Skip to content

Commit

Permalink
Use python 3.12 instead of 3.11 in built images
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Oct 1, 2024
1 parent ce70501 commit 04ef841
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ci/refreeze
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for img in ${IMAGES}; do
--volume="$PWD:/io" \
--workdir=/io \
--user=root \
python:3.11-bookworm \
python:3.12-bookworm \
sh -c 'pip install pip-tools==7.* && pip-compile --allow-unsafe --strip-extras --upgrade'
popd
done
4 changes: 2 additions & 2 deletions images/hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# NOTE: If the image version is updated, also update it in ci/refreeze and
# singleuser-sample's Dockerfile!
#
FROM python:3.11-bookworm as build-stage
FROM python:3.12-bookworm as build-stage

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

ARG NB_USER=jovyan \
Expand Down
2 changes: 1 addition & 1 deletion images/secret-sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-alpine
FROM python:3.12-alpine

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

Expand Down
4 changes: 2 additions & 2 deletions images/singleuser-sample/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# NOTE: If the image version is updated, also update it in ci/refreeze and
# hub's Dockerfile!
#
FROM python:3.11-bookworm as build-stage
FROM python:3.12-bookworm as build-stage

# Build wheels
#
Expand All @@ -30,7 +30,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
# The final stage
# ---------------
#
FROM python:3.11-slim-bookworm
FROM python:3.12-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive

ENV NB_USER=jovyan \
Expand Down

0 comments on commit 04ef841

Please sign in to comment.