##// END OF EJS Templates
run-tests: deal with distutil deprecation...
run-tests: deal with distutil deprecation PEP 632 recommend the use of `packaging.version` to replace the deprecated `distutil.version`. So lets do it.

File last commit:

r50314:2edb41ed default
r50391:35bf7f23 default
Show More
rhel9
25 lines | 572 B | text/plain | TextLexer
FROM rockylinux/rockylinux:9
RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
RUN dnf install 'dnf-command(config-manager)' -y
# crb repository is necessary for docutils
RUN dnf config-manager --set-enabled crb
RUN yum install -y \
gcc \
gettext \
make \
python3-devel \
python3-docutils \
rpm-build
# For creating repo meta data
RUN yum install -y createrepo
# For rust extensions
RUN yum install -y cargo
# avoid incorrect docker image permissions on /tmp preventing writes by non-root users
RUN chmod 1777 /tmp