summaryrefslogtreecommitdiffstats
path: root/redhat/docker/f30/Dockerfile.x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/f30/Dockerfile.x86_64')
-rw-r--r--redhat/docker/f30/Dockerfile.x86_643
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/docker/f30/Dockerfile.x86_64 b/redhat/docker/f30/Dockerfile.x86_64
index b259f4810..31b7fb112 100644
--- a/redhat/docker/f30/Dockerfile.x86_64
+++ b/redhat/docker/f30/Dockerfile.x86_64
@@ -20,6 +20,9 @@ RUN dnf -y --enableplugin=ovl install $(</packages)
ADD rpmbuild.repo /etc/yum.repos.d/rpmbuild.repo
RUN sed -i "/etc/yum.repos.d/rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE_VERSION}|g"
+# Fix utempter detection
+RUN chmod a+r /usr/libexec/utempter/utempter
+
# Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers