Skip to content

chore(container): migrate from python:3.12 to Red Hat UBI9 Python image #50

@ruivieira

Description

@ruivieira

Problem

The current Containerfile uses the generic python:3.12 base image:

FROM python:3.12

For enterprise and production deployments, it's recommended to use Red Hat Universal Base Images (UBI) which provide:

  • Security-focused base images with minimal attack surface
  • Regular security updates and vulnerability scanning
  • Enterprise support and compliance requirements
  • Better alignment with Red Hat OpenShift and RHEL ecosystems

Proposed Solution

Replace the current base image with the Red Hat UBI9 Python 3.12 image:

FROM registry.access.redhat.com/ubi9/python-312

Changes Required

Update Containerfile line 2:

  • Current: FROM python:3.12
  • Proposed: FROM registry.access.redhat.com/ubi9/python-312

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions