FROM registry.access.redhat.com/ubi9/ubi:9.2
# Only add the RHEL 9 AppStream Python 3.11 interpreter; do not upgrade the base OS.
RUN rpm -qa | sort > /rpm-before.txt \
 && dnf install -y --setopt=install_weak_deps=0 --nobest python3.11 python3.11-pip \
 && dnf clean all \
 && rpm -qa | sort > /rpm-after.txt
