##// END OF EJS Templates
docker: avoid /tmp write access issues by fixing permissions
Mathias De Mare -
r50173:234aaf01 stable
parent child Browse files
Show More
@@ -1,18 +1,21
1 1 FROM rockylinux/rockylinux:8
2 2
3 3 RUN groupadd -g %GID% build && \
4 4 useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
5 5
6 6 RUN yum install -y \
7 7 gcc \
8 8 gettext \
9 9 make \
10 10 python3-devel \
11 11 python3-docutils \
12 12 rpm-build
13 13
14 14 # For creating repo meta data
15 15 RUN yum install -y createrepo
16 16
17 17 # For rust extensions
18 18 RUN yum install -y cargo
19
20 # avoid incorrect docker image permissions on /tmp preventing writes by non-root users
21 RUN chmod 1777 /tmp
General Comments 0
You need to be logged in to leave comments. Login now