From af246df9018eeda02a7ab80698b317f1d2667dcf Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Mon, 19 Oct 2020 09:13:30 +0200 Subject: [PATCH] Fixup container test run The example UI scripts that we are starting to use for testing are marked as docs in the RPM and the container images exclude them. Explicitly install them. --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2fe681f4..ac17684a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,9 @@ FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest # Install tmux to make sure the libyui+YaST integration tests are run RUN zypper --non-interactive in tmux +# Enable installing docs... +RUN sed -i 's/\(rpm\.install\.excludedocs =\).*/\1 no/' /etc/zypp/zypp.conf +# ... and reinstall the RPM containing the examples we use for tests +RUN zypper --force --non-interactive in yast2-ycp-ui-bindings-devel + COPY . /usr/src/app