Skip to content

Commit

Permalink
add condition to docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Oct 27, 2023
1 parent b908f8c commit 497db99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ RUN set -x && \
dnf -y upgrade; \
dnf -y distro-sync --repo copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-unstable;

RUN set -x && \
if [ -n "$COPR" ] && [ -n "$RPMS" ]; then \
dnf -y copr enable $COPR; \
dnf -y install $RPMS; \
fi

# copy test suite
COPY ./dnf-behave-tests/ /opt/ci/dnf-behave-tests

Expand Down

0 comments on commit 497db99

Please sign in to comment.