Install dnf4 into test image

The fedora:latest image is now based on 41, and contains dnf5. This is
causing some tests to fail due to failing imports of dnf version 4.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit bc60af794dc54c99bc295c742bbfba03393f7e0f)
This commit is contained in:
Lubomír Sedlář 2024-11-07 13:24:11 +01:00 committed by Stepan Oksanichenko
parent fdea2c88d9
commit 37f9f1fcaf

View File

@ -6,6 +6,7 @@ LABEL \
license="MIT"
RUN dnf -y update && dnf -y install \
--setopt=install_weak_deps=false \
findutils \
libmodulemd \
git \
@ -15,6 +16,7 @@ RUN dnf -y update && dnf -y install \
python3-gobject-base \
python3-tox \
python3-urlgrabber \
python3-dnf \
&& dnf clean all
WORKDIR /src