-
Story
-
Resolution: Unresolved
-
Normal
-
rhel-9.4.z
-
FutureFeature
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_platform_tools
-
3
-
False
-
-
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
- 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.