aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-10-09 20:42:10 +0100
committerGravatar Joe Banks <[email protected]>2025-10-09 20:42:10 +0100
commit4f6291eba830669caac934d7da418e0938ac7164 (patch)
treef861f590bc4d7c1a75bce6559b3d09756a0c8055 /Dockerfile
parentRemove --with-system-expat from Python build arguments (diff)
Update Python versions, add 3.14t, remove 3.13t and default to 3.14
Diffstat (limited to '')
-rw-r--r--Dockerfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 5bcb727..eb9fafd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,15 +35,14 @@ COPY --link scripts/build_python.sh /
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_13
-RUN /build_python.sh 3.13.5
-# ------------------------------------------------------------------------------
-FROM builder-py-base AS builder-py-3_13t
-# This can't be bumped to latest until https://github.com/python/cpython/issues/135734 is resolved.
-RUN /build_python.sh 3.13.2t
+RUN /build_python.sh 3.13.8
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_14
RUN /build_python.sh 3.14.0
# ------------------------------------------------------------------------------
+FROM builder-py-base AS builder-py-3_14t
+RUN /build_python.sh 3.14.0t
+# ------------------------------------------------------------------------------
FROM python:3.13-slim-bookworm AS base
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -59,11 +58,11 @@ RUN apt-get -y update \
COPY --link --from=builder-nsjail /nsjail/nsjail /usr/sbin/
COPY --link --from=builder-py-3_13 /snekbin/ /snekbin/
-COPY --link --from=builder-py-3_13t /snekbin/ /snekbin/
COPY --link --from=builder-py-3_14 /snekbin/ /snekbin/
+COPY --link --from=builder-py-3_14t /snekbin/ /snekbin/
RUN chmod +x /usr/sbin/nsjail \
- && ln -s /snekbin/python/3.13/ /snekbin/python/default
+ && ln -s /snekbin/python/3.14/ /snekbin/python/default
# ------------------------------------------------------------------------------
FROM base AS venv