aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-05-17 09:34:07 +0100
committerGravatar Chris Lovering <[email protected]>2025-05-17 09:34:07 +0100
commit0f351e191f65b1abed501ef0e5f55ebeacfa2090 (patch)
treec8531f7bd1bba271c9aad9f40137de2c22bf13c9
parentBump 3.13 to 3.13.2 and make the default (diff)
Remove 3.12 in favour of 3.14-dev
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index c83161d..56bab5d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,15 +34,15 @@ RUN git clone -b v2.5.7 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT
COPY --link scripts/build_python.sh /
# ------------------------------------------------------------------------------
-FROM builder-py-base AS builder-py-3_12
-RUN /build_python.sh 3.12.8
-# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_13
RUN /build_python.sh 3.13.2
# ------------------------------------------------------------------------------
FROM builder-py-base AS builder-py-3_13t
RUN /build_python.sh 3.13.2t
# ------------------------------------------------------------------------------
+FROM builder-py-base AS builder-py-3_14
+RUN /build_python.sh 3.14-dev
+# ------------------------------------------------------------------------------
FROM python:3.13-slim-bookworm AS base
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -57,9 +57,9 @@ RUN apt-get -y update \
&& rm -rf /var/lib/apt/lists/*
COPY --link --from=builder-nsjail /nsjail/nsjail /usr/sbin/
-COPY --link --from=builder-py-3_12 /snekbin/ /snekbin/
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/
RUN chmod +x /usr/sbin/nsjail \
&& ln -s /snekbin/python/3.13/ /snekbin/python/default