mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-02 06:32:54 -10:00
Python 3.12 has released, so update the test infrastructure to test against this version. Update the configure script to look for it when an explicit Python interpreter isn't chosen. Signed-off-by: John Snow <[email protected]> Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]> Message-id: [email protected] Signed-off-by: John Snow <[email protected]>
27 lines
574 B
Docker
27 lines
574 B
Docker
# Python library testing environment
|
|
|
|
FROM fedora:latest
|
|
MAINTAINER John Snow <[email protected]>
|
|
|
|
# Please keep this list sorted alphabetically
|
|
ENV PACKAGES \
|
|
gcc \
|
|
make \
|
|
python3 \
|
|
python3-pip \
|
|
python3-tox \
|
|
python3-virtualenv \
|
|
python3.10 \
|
|
python3.11 \
|
|
python3.12 \
|
|
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
|