summaryrefslogtreecommitdiffstats
path: root/redhat/docker/f32/Dockerfile.x86_64
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2020-09-06 19:30:11 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2020-09-07 21:02:08 +0200
commit788ca09216c3017ee12f7c4d1ed28508aa9e590a (patch)
treeab810ec666d5d70ee5b82f9ea84e8de7e0c064a9 /redhat/docker/f32/Dockerfile.x86_64
parent0e1236eb405e96c675ea53a25ebe06985997af97 (diff)
downloadtde-packaging-788ca09216c3017ee12f7c4d1ed28508aa9e590a.tar.gz
tde-packaging-788ca09216c3017ee12f7c4d1ed28508aa9e590a.zip
RPM: update build scripts
Diffstat (limited to 'redhat/docker/f32/Dockerfile.x86_64')
-rw-r--r--redhat/docker/f32/Dockerfile.x86_643
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/docker/f32/Dockerfile.x86_64 b/redhat/docker/f32/Dockerfile.x86_64
index 3267ccb62..38326e028 100644
--- a/redhat/docker/f32/Dockerfile.x86_64
+++ b/redhat/docker/f32/Dockerfile.x86_64
@@ -24,4 +24,5 @@ RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${T
RUN chmod a+r /usr/libexec/utempter/utempter
# Add non-root user to build packages
-RUN useradd -m -s /bin/bash -u 1000 trinity && echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers && rpmmacros /home/trinity/.rpmmacros
+RUN useradd -m -s /bin/bash -u 1000 trinity && echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
+COPY rpmmacros /home/trinity/.rpmmacros