From b60f2bb72685ec74baea744070d4ca0eb47ee3ca 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..3d914607 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 --non-interactive in --force yast2-ycp-ui-bindings-devel + COPY . /usr/src/app