summaryrefslogtreecommitdiffstats
path: root/redhat/docker/osstw/Dockerfile.x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/osstw/Dockerfile.x86_64')
-rw-r--r--redhat/docker/osstw/Dockerfile.x86_647
1 files changed, 4 insertions, 3 deletions
diff --git a/redhat/docker/osstw/Dockerfile.x86_64 b/redhat/docker/osstw/Dockerfile.x86_64
index eadab8f65..a4f5d7552 100644
--- a/redhat/docker/osstw/Dockerfile.x86_64
+++ b/redhat/docker/osstw/Dockerfile.x86_64
@@ -6,11 +6,12 @@ ARG ARCH=x86_64
# Add PACKMAN repository
RUN zypper ar -f -G -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ packman
RUN zypper refresh
+RUN zypper --non-interactive dup
+RUN zypper --non-interactive update
# Install Trinity build dependencies
-ADD packages /etc/zypp/packages
-RUN zypper remove -y openssl
-RUN zypper install -l -y $(</etc/zypp/packages)
+ADD packages /packages
+RUN zypper install -l -y $(</packages)
# Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity