Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / tests / docker / dockerfiles / python.docker
blob8f0af9ef25faa2a5884b4cd6c65ea6aff19f24c8
1 # Python library testing environment
3 FROM fedora:latest
4 MAINTAINER John Snow <jsnow@redhat.com>
6 # Please keep this list sorted alphabetically
7 ENV PACKAGES \
8     gcc \
9     make \
10     python3 \
11     python3-pip \
12     python3-tox \
13     python3-virtualenv \
14     python3.10 \
15     python3.11 \
16     python3.12 \
17     python3.13 \
18     python3.8 \
19     python3.9
21 RUN dnf install -y $PACKAGES
22 RUN rpm -q $PACKAGES | sort > /packages.txt
23 # As a final step configure the user (if env is defined)
24 ARG USER
25 ARG UID
26 RUN if [ "${USER}" ]; then \
27   id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi