diff options
author | 2023-10-02 19:40:32 +0100 | |
---|---|---|
committer | 2023-10-02 19:40:32 +0100 | |
commit | 32bb655a664742f9dd0c30d5d43b1e3096023013 (patch) | |
tree | 3110081df06a1a3da2879d02f8d0d555e2202749 /Dockerfile | |
parent | Use 3.12.0 by default (diff) |
Replace 3.11 support with 3.13-dev
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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 |