docker-ubuntu-pyside-xvfb/pyside2-linux/Dockerfile

17 lines
819 B
Text
Raw Normal View History

2024-09-19 17:41:06 +00:00
FROM ubuntu:jammy
# Jammy uses python3.10 and not 3.12, which is not compatible with PySide2.
ARG DEBIAN_FRONTEND=noninteractive
ARG PYSIDE2_VERSION=5.15.2.1
ENV TZ=Europe/Paris
RUN apt-get update
2024-09-19 19:30:53 +00:00
RUN apt-get upgrade -y
RUN apt-get -y install make git rpm dh-python \
xvfb xdotool wmctrl \
2024-09-19 17:41:06 +00:00
python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt \
qml-module-qtquick-controls2 qml-module-qtmultimedia qml-module-qtgraphicaleffects qml-module-qtquick2 qml-module-qtqml-models2 qml-module-qtquick-controls
2024-09-19 19:30:53 +00:00
RUN python3 -m pip install -U pip py certifi setuptools wheel # Upgrading packages that need fixes.
RUN python3 -m pip install PySide2==$PYSIDE2_VERSION
RUN apt clean