diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36536ee..476ffc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,12 @@ jobs: - platform: "ubuntu_26_04" python: "3" case_suffix: "py3_xx_xx" + - platform: "ubuntu_26_04" + python: "3.12" + case_suffix: "py3_12_xx" + - platform: "ubuntu_26_04" + python: "3.13" + case_suffix: "py3_13_xx" - platform: "altlinux_10" python: "3" case_suffix: "py3_xx_xx" diff --git a/Dockerfile--ubuntu_26_04.tmpl b/Dockerfile--ubuntu_26_04.tmpl index ddfaa9d..eecf24f 100644 --- a/Dockerfile--ubuntu_26_04.tmpl +++ b/Dockerfile--ubuntu_26_04.tmpl @@ -34,6 +34,36 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ENV PYTHON_BINARY=python3 +# --------------------------------------------- base2_with_python-3.12 +FROM base1 AS base2_with_python-3.12 + +RUN apt-get update && apt-get install -y --no-install-recommends \ + software-properties-common \ + gnupg \ + && add-apt-repository -y ppa:deadsnakes/ppa \ + && apt-get update && apt-get install -y --no-install-recommends \ + python3.12 \ + python3.12-venv \ + python3.12-dev \ + && rm -rf /var/lib/apt/lists/* + +ENV PYTHON_BINARY=/usr/bin/python3.12 + +# --------------------------------------------- base2_with_python-3.13 +FROM base1 AS base2_with_python-3.13 + +RUN apt-get update && apt-get install -y --no-install-recommends \ + software-properties-common \ + gnupg \ + && add-apt-repository -y ppa:deadsnakes/ppa \ + && apt-get update && apt-get install -y --no-install-recommends \ + python3.13 \ + python3.13-venv \ + python3.13-dev \ + && rm -rf /var/lib/apt/lists/* + +ENV PYTHON_BINARY=/usr/bin/python3.13 + # --------------------------------------------- final FROM base2_with_python-${PYTHON_VERSION} AS final