Files
qemu/tests/docker/dockerfiles/python.docker
Michael Tokarev 8b182b6600 tests/docker/dockerfiles/python.docker: pull fedora:40 image instead of fedora:latest
All other fedora dockerfiles use fedora:40.
fedora:latest does not have python3.8 anymore,
so python minreq/etc tests are failing in 10.0.x.

This patch is specific to 10.0.x stable branch.
In master, support for python3.8 has been dropped.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-09-17 19:29:58 +03:00

28 lines
587 B
Docker

# Python library testing environment
FROM fedora:40
MAINTAINER John Snow <jsnow@redhat.com>
# Please keep this list sorted alphabetically
ENV PACKAGES \
gcc \
make \
python3 \
python3-pip \
python3-tox \
python3-virtualenv \
python3.10 \
python3.11 \
python3.12 \
python3.13 \
python3.8 \
python3.9
RUN dnf install -y $PACKAGES
RUN rpm -q $PACKAGES | sort > /packages.txt
# As a final step configure the user (if env is defined)
ARG USER
ARG UID
RUN if [ "${USER}" ]; then \
id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi