Debian Codegraph @

contrib/packaging/docker/rhel9

raw
1 FROM rockylinux/rockylinux:9
2
3 RUN groupadd -g %GID% build && \
4 useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
5
6 RUN dnf install 'dnf-command(config-manager)' -y
7 # crb repository is necessary for docutils
8 RUN dnf config-manager --set-enabled crb
9
10 RUN yum install -y \
11 gcc \
12 gettext \
13 make \
14 python3-devel \
15 python3-docutils \
16 rpm-build \
17 which
18
19 # For creating repo meta data
20 RUN yum install -y createrepo
21
22 # For rust extensions
23 RUN yum install -y cargo
24
25 # avoid incorrect docker image permissions on /tmp preventing writes by non-root users
26 RUN chmod 1777 /tmp