Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…perproject#1270 Use Python 3.11 in RHEL/CentOS RPM build
  • Loading branch information
jiridanek committed Dec 6, 2023
1 parent a400deb commit 631a224
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 631a224

Please sign in to comment.