diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3df8248..a95a236 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,7 @@ jobs: image: ghcr.io/radiorabe/s2i-python name: s2i-python display-name: RaBe S2I Python Minimal - tags: minimal rhel8 rabe s2i python python311 + tags: minimal rhel8 rabe s2i python python312 cosign-base-image-only: true mkdocs: uses: radiorabe/actions/.github/workflows/release-mkdocs.yaml@v0.22.3 diff --git a/Dockerfile b/Dockerfile index bf0d480..240c7f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM registry.access.redhat.com/ubi9/python-311:1-77.1726696860 as base +FROM registry.access.redhat.com/ubi9/python-312:1-25.1726696862 as base FROM ghcr.io/radiorabe/s2i-base:2.2.3 EXPOSE 8080 ENV \ - PYTHON_VERSION=3.9 \ + PYTHON_VERSION=3.12 \ PYTHONUNBUFFERED=1 \ PYTHONIOENCODING=UTF-8 \ LC_ALL=en_US.UTF-8 \ LANG=en_US.UTF-8 \ - CNB_STACK_ID=ch.rabe.it.stacks.ubi9-python-311 \ + CNB_STACK_ID=ch.rabe.it.stacks.ubi9-python-312 \ CNB_USER_ID=1001 \ CNB_GROUP_ID=0 \ PIP_NO_CACHE_DIR=off \ @@ -31,12 +31,12 @@ ENV BASH_ENV=${APP_ROOT}/etc/scl_enable \ RUN microdnf install -y \ nss_wrapper \ - python3.11 \ - python3.11-pip-wheel \ + python3.12 \ + python3.12-pip-wheel \ && microdnf clean all \ - && python3.11 -mvenv ${APP_ROOT} \ - && python3.11 -mpip install /usr/share/python3.11-wheels/*.whl \ - && python3.11 -mpip install build \ + && python3.12 -mvenv ${APP_ROOT} \ + && python3.12 -mpip install /usr/share/python3.12-wheels/*.whl \ + && python3.12 -mpip install build \ && chown -R 1001:0 ${APP_ROOT} \ && fix-permissions ${APP_ROOT} -P \ && rpm-file-permissions diff --git a/catalog-info.yaml b/catalog-info.yaml index 377ace2..6c737f5 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -9,8 +9,8 @@ metadata: backstage.io/techdocs-ref: dir:. github.com/project-slug: radiorabe/container-image-rabe-s2i-python-minimal links: - - url: https://catalog.redhat.com/software/containers/ubi9/python-311/63f764b03f0b02a2e2d63fff - title: Red Hat Python 3.11 + - url: "https://catalog.redhat.com/software/containers/ubi9/python-312/657b08d023df896ebfacf402" + title: Red Hat UBI9 Python 3.12 spec: type: image lifecycle: experimental