Skip to content

Commit

Permalink
Fixup container test run
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvidner committed Oct 19, 2020
1 parent 55a3d2b commit b60f2bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b60f2bb

Please sign in to comment.