From fa698ac830272f8a62b7b22ac11e5a44e313d5f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 16:10:13 +0100 Subject: [PATCH] fix: bump the baseimages group across 1 directory with 2 updates for Pytthon 3.12 (#172) * chore: bump the baseimages group across 1 directory with 2 updates Bumps the baseimages group with 2 updates in the / directory: [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.1.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.1.0) Updates `radiorabe/python-minimal` from 2.2.3 to 3.1.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.1.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] * chore: Python 3.12 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lucas --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a41ccf..4cc2d8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,20 +1,20 @@ -FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build +FROM ghcr.io/radiorabe/s2i-python:3.1.0 AS build COPY --chown=1001:0 ./ /opt/app-root/src/ RUN python -mbuild -FROM ghcr.io/radiorabe/python-minimal:2.2.3 AS app +FROM ghcr.io/radiorabe/python-minimal:3.1.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/