aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-10-02 19:40:32 +0100
committerGravatar Chris Lovering <[email protected]>2023-10-02 19:40:32 +0100
commit32bb655a664742f9dd0c30d5d43b1e3096023013 (patch)
tree3110081df06a1a3da2879d02f8d0d555e2202749 /Dockerfile
parentUse 3.12.0 by default (diff)
Replace 3.11 support with 3.13-dev
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index 82d2d42..c95ef40 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,15 +32,13 @@ RUN apt-get -y update \
COPY --link scripts/build_python.sh /
# ------------------------------------------------------------------------------
-FROM builder-py-base as builder-py-3_11
-RUN git clone -b v2.3.26 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT \
- && /build_python.sh 3.11.5
-
-# ------------------------------------------------------------------------------
FROM builder-py-base as builder-py-3_12
RUN git clone -b v2.3.28 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT \
&& /build_python.sh 3.12.0
-
+# ------------------------------------------------------------------------------
+FROM builder-py-base as builder-py-3_13
+RUN git clone -b v2.3.28 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT \
+ && /build_python.sh 3.13-dev
# ------------------------------------------------------------------------------
FROM python:3.11-slim-bookworm as base
@@ -56,8 +54,8 @@ 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_11 /lang/ /lang/
COPY --link --from=builder-py-3_12 /lang/ /lang/
+COPY --link --from=builder-py-3_13 /lang/ /lang/
RUN chmod +x /usr/sbin/nsjail \
&& ln -s /lang/python/3.12/ /lang/python/default