summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-04-09 00:32:39 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-04-25 05:36:03 +0000
commitfa41fef55775d6d442f2b0f5b76a917b8cb51a92 (patch)
tree5a6912eaa9ceec1e69a3213f6b0f9220dccd4fd2
parent98d7157a6dea2eb586b6b7957084b4b310e732ff (diff)
util/docker/jenkins-node: Allow pip to install packages system-wide
Call pip3 with `--break-system-packages` allowing it to install packages system-wide. This fixes building the Docker container. Change-Id: Id093f2c69fec43556c434fbca7b36095a7e6bd97 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74292 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
-rw-r--r--util/docker/coreboot-jenkins-node/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/docker/coreboot-jenkins-node/Dockerfile b/util/docker/coreboot-jenkins-node/Dockerfile
index b277efaf49..7ab703c68e 100644
--- a/util/docker/coreboot-jenkins-node/Dockerfile
+++ b/util/docker/coreboot-jenkins-node/Dockerfile
@@ -44,8 +44,8 @@ RUN apt-get -y update && \
python3-pyrsistent \
swig \
&& apt-get clean \
- && pip3 install --upgrade --no-cache-dir pip \
- && pip3 install --no-cache-dir \
+ && pip3 install --upgrade --no-cache-dir --break-system-packages pip \
+ && pip3 install --no-cache-dir --break-system-packages \
setuptools==58.2.0 \
jinja2==3.0.3 \
recommonmark===0.5.0 \