summaryrefslogtreecommitdiffstats
path: root/redhat/docker/f30
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2019-11-08 20:47:18 +0100
committerFrançois Andriot <[email protected]>2019-11-19 15:07:31 +0100
commit5259ca7ff29406043491aa22851af6b7ce32a748 (patch)
tree7d79564eb7d916fd0defb8c7bbfb065e56a58978 /redhat/docker/f30
parent18cafac14a063cb54c8ed6afc64e87b929c957ee (diff)
downloadtde-packaging-5259ca7ff29406043491aa22851af6b7ce32a748.tar.gz
tde-packaging-5259ca7ff29406043491aa22851af6b7ce32a748.zip
RPM: update build scripts
Diffstat (limited to 'redhat/docker/f30')
-rw-r--r--redhat/docker/f30/Dockerfile.i6863
-rw-r--r--redhat/docker/f30/Dockerfile.x86_643
2 files changed, 6 insertions, 0 deletions
diff --git a/redhat/docker/f30/Dockerfile.i686 b/redhat/docker/f30/Dockerfile.i686
index 0f8cac39d..9be8fdbfc 100644
--- a/redhat/docker/f30/Dockerfile.i686
+++ b/redhat/docker/f30/Dockerfile.i686
@@ -20,6 +20,9 @@ RUN setarch i686 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
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