Docker: Upgrade all Python packages as required.
diff --git a/docker/dockerfile b/docker/dockerfile
index 225dc36..6b6013e 100644
--- a/docker/dockerfile
+++ b/docker/dockerfile
@@ -84,7 +84,8 @@
# install Python requirements
COPY requirements.txt ${INSTALLER_PATH}/
-RUN python3 -m pip install --no-cache-dir -r ${INSTALLER_PATH}/requirements.txt
+RUN python3 -m pip install -U --no-cache-dir pip && \
+ python3 -m pip install -U --no-cache-dir -r ${INSTALLER_PATH}/requirements.txt
# install buildtools
RUN python3 -m pip install --no-cache-dir -r ${INSTALLER_PATH}/buildtools/requirements.txt
@@ -93,10 +94,6 @@
COPY rtebuild /root/.rtebuild
ENV PATH=${PATH}:${TOOLS_PATH}/buildtools
-# install python-matrix-runner
-# hadolint disable=DL3013
-RUN python3 -m pip install ${INSTALLER_PATH}/python-matrix-runner
-
# set ARMLMD_LICENSE_FILE for ARM compilers
ENV ARMLMD_LICENSE_FILE="7010@euhpc-lic-armlmd.euhpc.arm.com:7010@euhpc-lic03.euhpc.arm.com:7010@euhpc-lic05.euhpc.arm.com:7010@euhpc-lic07.euhpc.arm.com"
diff --git a/docker/dockerfile.gnu b/docker/dockerfile.gnu
index d088a44..dee7f4a 100644
--- a/docker/dockerfile.gnu
+++ b/docker/dockerfile.gnu
@@ -48,14 +48,14 @@
# install Python requirements
COPY requirements.txt ${INSTALLER_PATH}/
-RUN python3 -m pip install --no-cache-dir -r ${INSTALLER_PATH}/requirements.txt
+RUN python3 -m pip install -U --no-cache-dir pip && \
+ python3 -m pip install -U --no-cache-dir -r ${INSTALLER_PATH}/requirements.txt
# install buildtools
RUN python3 -m pip install --no-cache-dir -r ${TOOLS_PATH}/buildtools/requirements.txt
COPY rtebuild /root/.rtebuild
ENV PATH=${PATH}:${TOOLS_PATH}/buildtools
-
# remove dependency folder
RUN rm -rf ${INSTALLER_PATH}