Skip to content

Commit 4f6291e

Browse files
committed
Update Python versions, add 3.14t, remove 3.13t and default to 3.14
1 parent a8d02e0 commit 4f6291e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@ COPY --link scripts/build_python.sh /
3535

3636
# ------------------------------------------------------------------------------
3737
FROM builder-py-base AS builder-py-3_13
38-
RUN /build_python.sh 3.13.5
39-
# ------------------------------------------------------------------------------
40-
FROM builder-py-base AS builder-py-3_13t
41-
# This can't be bumped to latest until https://github.com/python/cpython/issues/135734 is resolved.
42-
RUN /build_python.sh 3.13.2t
38+
RUN /build_python.sh 3.13.8
4339
# ------------------------------------------------------------------------------
4440
FROM builder-py-base AS builder-py-3_14
4541
RUN /build_python.sh 3.14.0
4642
# ------------------------------------------------------------------------------
43+
FROM builder-py-base AS builder-py-3_14t
44+
RUN /build_python.sh 3.14.0t
45+
# ------------------------------------------------------------------------------
4746
FROM python:3.13-slim-bookworm AS base
4847

4948
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -59,11 +58,11 @@ RUN apt-get -y update \
5958

6059
COPY --link --from=builder-nsjail /nsjail/nsjail /usr/sbin/
6160
COPY --link --from=builder-py-3_13 /snekbin/ /snekbin/
62-
COPY --link --from=builder-py-3_13t /snekbin/ /snekbin/
6361
COPY --link --from=builder-py-3_14 /snekbin/ /snekbin/
62+
COPY --link --from=builder-py-3_14t /snekbin/ /snekbin/
6463

6564
RUN chmod +x /usr/sbin/nsjail \
66-
&& ln -s /snekbin/python/3.13/ /snekbin/python/default
65+
&& ln -s /snekbin/python/3.14/ /snekbin/python/default
6766

6867
# ------------------------------------------------------------------------------
6968
FROM base AS venv

0 commit comments

Comments
 (0)