From f43050e74f3b628d500a0f1a648ef77936ac0f5e Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 19 Sep 2024 21:30:53 +0200 Subject: [PATCH] Adding fixing some vulns. --- pyside2-linux/Dockerfile | 2 ++ pyside6-linux/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pyside2-linux/Dockerfile b/pyside2-linux/Dockerfile index 9821bd8..047ff09 100644 --- a/pyside2-linux/Dockerfile +++ b/pyside2-linux/Dockerfile @@ -6,9 +6,11 @@ ARG PYSIDE2_VERSION=5.15.2.1 ENV TZ=Europe/Paris RUN apt-get update +RUN apt-get upgrade -y RUN apt-get -y install make git rpm dh-python \ xvfb xdotool wmctrl \ 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 +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 diff --git a/pyside6-linux/Dockerfile b/pyside6-linux/Dockerfile index 75cb746..e0feb05 100644 --- a/pyside6-linux/Dockerfile +++ b/pyside6-linux/Dockerfile @@ -5,9 +5,11 @@ ARG PYSIDE2_VERSION=6.7.2 ENV TZ=Europe/Paris RUN apt-get update +RUN apt-get upgrade -y RUN apt-get -y install make git rpm dh-python \ xvfb xdotool wmctrl \ python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED # Disable managed environment. We don't care about breaking system packages here. +RUN python3 -m pip install -U setuptools # Upgrading packages that need fixes. RUN python3 -m pip install PySide6==$PYSIDE2_VERSION RUN apt clean