From fa41fef55775d6d442f2b0f5b76a917b8cb51a92 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 9 Apr 2023 00:32:39 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74292 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Martin L Roth --- util/docker/coreboot-jenkins-node/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/docker/coreboot-jenkins-node') 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 \ -- cgit v1.2.3