From bec5adc1f8793ea5415785e208ab9abb615062fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 12:48:14 +0200 Subject: [PATCH] feat: Python 3.12 (#505) * chore: bump the baseimages group with 2 updates Bumps the baseimages group with 2 updates: [radiorabe/s2i-python](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal) and [radiorabe/python-minimal](https://github.com/radiorabe/container-image-python-minimal). Updates `radiorabe/s2i-python` from 2.2.6 to 3.0.0 - [Release notes](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal/releases) - [Commits](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal/compare/v2.2.6...v3.0.0) Updates `radiorabe/python-minimal` from 2.2.3 to 3.0.0 - [Release notes](https://github.com/radiorabe/container-image-python-minimal/releases) - [Commits](https://github.com/radiorabe/container-image-python-minimal/compare/v2.2.3...v3.0.0) --- updated-dependencies: - dependency-name: radiorabe/s2i-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: baseimages - dependency-name: radiorabe/python-minimal dependency-type: direct:production update-type: version-update:semver-major dependency-group: baseimages ... Signed-off-by: dependabot[bot] * Update Dockerfile --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lucas <116588+hairmare@users.noreply.github.com> --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f90b54b9..48aef4ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build +FROM ghcr.io/radiorabe/s2i-python:3.0.0 AS build COPY --chown=1001:0 ./ /opt/app-root/src/ @@ -8,16 +8,16 @@ RUN npm install \ RUN python -mbuild -FROM ghcr.io/radiorabe/python-minimal:2.2.3 AS app +FROM ghcr.io/radiorabe/python-minimal:3.0.0 AS app COPY --from=build /opt/app-root/src/dist/*.whl /tmp/dist/ RUN microdnf install -y \ - python3.11-pip \ + python3.12-pip \ && python -mpip --no-cache-dir install /tmp/dist/*.whl \ && microdnf remove -y \ - python3.11-pip \ - python3.11-setuptools \ + python3.12-pip \ + python3.12-setuptools \ && microdnf clean all \ && rm -rf /tmp/dist/