diff --git a/Containerfile b/Containerfile index 8bdad9c6a..343809da7 100644 --- a/Containerfile +++ b/Containerfile @@ -55,6 +55,9 @@ RUN microdnf -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install \ shadow-utils \ && microdnf clean all +# create alias for python3.11, we use `env python3` in shebangs +RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 + RUN useradd --uid 10000 runner USER 10000