equal
deleted
inserted
replaced
|
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 |
|
18 # For creating repo meta data |
|
19 RUN yum install -y createrepo |
|
20 |
|
21 # For rust extensions |
|
22 RUN yum install -y cargo |
|
23 |
|
24 # avoid incorrect docker image permissions on /tmp preventing writes by non-root users |
|
25 RUN chmod 1777 /tmp |