diff options
Diffstat (limited to 'redhat/docker/mga7/Dockerfile.i686')
-rw-r--r-- | redhat/docker/mga7/Dockerfile.i686 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/redhat/docker/mga7/Dockerfile.i686 b/redhat/docker/mga7/Dockerfile.i686 index 93da2907b..67d349d52 100644 --- a/redhat/docker/mga7/Dockerfile.i686 +++ b/redhat/docker/mga7/Dockerfile.i686 @@ -21,6 +21,9 @@ RUN urpmi --auto $(</packages) # Enable ccache RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|" +# Fix utempter detection +RUN chmod a+r /usr/libexec/utempter/utempter + # Add non-root user to build packages RUN rm -rf /home/trinity RUN useradd -m -s /bin/bash -u 1000 trinity @@ -28,7 +31,7 @@ RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers" # Configure user trinity USER trinity -ADD rpmmacros ${HOME}/.rpmmacros +ADD rpmmacros /home/trinity/.rpmmacros # Add rpmbuild repositories RUN mkdir -p ${HOME}/rpmbuild/RPMS.tde-${TDE_VERSION}/${ARCH} |