summaryrefslogtreecommitdiffstats
path: root/redhat/docker/f32
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/f32')
-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