Adding fixing some vulns.

This commit is contained in:
Adsooi 2024-09-19 21:30:53 +02:00
parent e5684bec4f
commit f43050e74f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 4 additions and 0 deletions

View file

@ -6,9 +6,11 @@ ARG PYSIDE2_VERSION=5.15.2.1
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get -y install make git rpm dh-python \ RUN apt-get -y install make git rpm dh-python \
xvfb xdotool wmctrl \ xvfb xdotool wmctrl \
python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt \ 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 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 python3 -m pip install PySide2==$PYSIDE2_VERSION
RUN apt clean RUN apt clean

View file

@ -5,9 +5,11 @@ ARG PYSIDE2_VERSION=6.7.2
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
RUN apt-get update RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get -y install make git rpm dh-python \ RUN apt-get -y install make git rpm dh-python \
xvfb xdotool wmctrl \ xvfb xdotool wmctrl \
python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt 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 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 python3 -m pip install PySide6==$PYSIDE2_VERSION
RUN apt clean RUN apt clean