Skip to content

Commit

Permalink
feat!: Python 3.12 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Oct 20, 2024
1 parent ee6d641 commit 5bceb44
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
image: ghcr.io/radiorabe/python-minimal
name: python-minimal
display-name: RaBe Python Base Image Minimal
tags: minimal rhel8 rabe python python311
tags: minimal rhel8 rabe python python312
mkdocs:
uses: radiorabe/actions/.github/workflows/[email protected]
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/radiorabe/ubi9-minimal:0.7.3

RUN microdnf install -y \
python3.11 \
python3.12 \
&& microdnf clean all \
&& ln /usr/bin/python3.11 /usr/bin/python \
&& ln /usr/bin/pydoc3.11 /usr/bin/pydoc
&& ln /usr/bin/python3.12 /usr/bin/python \
&& ln /usr/bin/pydoc3.12 /usr/bin/pydoc
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ FROM ghcr.io/radiorabe/python-minimal:latest AS build

FROM ghcr.io/radiorabe/python-minimal:latest AS app

RUN microdnf install python311-psycopg2 \
RUN microdnf install python312-psycopg2 \
&& microdnf clean all \
&& python3 -mpip --no-cache-dir install /tmp/dist/*.whl \
&& rm -rf /tmp/dist/
Expand Down
6 changes: 3 additions & 3 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ kind: Component
metadata:
name: python-minimal
title: Python on UBI9 Minimal
description: Python 3.11 on UBI9 Minimal.
description: Python 3.12 on UBI9 Minimal.
annotations:
backstage.io/techdocs-ref: dir:.
github.com/project-slug: radiorabe/container-image-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 Python 3.12
spec:
type: image
lifecycle: experimental
Expand Down

0 comments on commit 5bceb44

Please sign in to comment.