diff options
author | 2024-10-03 19:17:34 +0100 | |
---|---|---|
committer | 2024-10-03 19:17:34 +0100 | |
commit | 91dd475e5b2bd20777521613d764b28bbfacd675 (patch) | |
tree | 671898d30bfeca0fb6ed8ace0586b29e5322aa42 | |
parent | Move pyenv clone to builder-py-base image (diff) |
Add Python 3.12.0rc3 support
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,7 +29,7 @@ RUN apt-get -y update \ tk-dev \ && rm -rf /var/lib/apt/lists/* -RUN git clone -b v2.4.10 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT +RUN git clone -b v2.4.14 --depth 1 https://github.com/pyenv/pyenv.git $PYENV_ROOT COPY --link scripts/build_python.sh / @@ -37,6 +37,9 @@ COPY --link scripts/build_python.sh / FROM builder-py-base as builder-py-3_12 RUN /build_python.sh 3.12.5 # ------------------------------------------------------------------------------ +FROM builder-py-base as builder-py-3_13 +RUN /build_python.sh 3.13.0rc3 +# ------------------------------------------------------------------------------ FROM python:3.12-slim-bookworm as base ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \ @@ -52,6 +55,7 @@ RUN apt-get -y update \ COPY --link --from=builder-nsjail /nsjail/nsjail /usr/sbin/ 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 |