Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-54130

Deliver minimal container image based on Python 3.12

    • FutureFeature
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_platform_tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      The current available python 3.12 and older Images are all based on s2i-base Image which contains a lot of unnecessary dependencies when trying to run a simple python application. So the size requirement can not be justified based on what the application does require. In addition, many components in there can be exposed to security vulnerabilities, requiring constant patching of said Image even though, most components are not required. This is the reason as to why it's requested to have a python 3.12 and later minimal Image available. Similar to what is available for NodeJS (see https://issues.redhat.com/browse/RHEL-49473 for details). Basically, relying on ubi9-minimal and just add python 3.12 or later including the necessary bits to make it work with s2i workflow.

      Also upstream in https://github.com/sclorg/s2i-python-container/tree/master some minimal version do exist but are not available in the Red Hat Container Catalog. For some time it was made available via Quay but went missing as it seems. Please see https://issues.redhat.com/browse/RHELPLAN-83473 for more details.

      Please provide the package NVR for which bug is seen:

      Python 3.12 or later on Red Hat Enterprise Linux 9 (UBI9)

      How reproducible:

      Always

      Steps to reproduce

      1. N/A

      Expected results

      To have Python 3.12 and later available as minimal Image, for the use-case to simply run some basic Python workload, where NodeJS and HTTPD is not required at all.

      Actual results

      Very big, blown Python 3 Image, containing NodeJS, HTTPD, etc. which is not necessarily required when running simple and small python application.

              python-maint python-maint
              rhn-support-sreber Simon Reber
              python-maint python-maint
              Lukas Zachar Lukas Zachar
              Lenka Špačková Lenka Špačková
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: