From bcd770194be28d87a56a6caad5489c5b194cc491 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 31 May 2025 09:42:12 +0200 Subject: [PATCH] fix: do not use pip system-wide anymore Signed-off-by: Ettore Di Giacinto --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a3ac186..7d2f5428 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,12 +95,14 @@ RUN apt-get update && \ python-is-python3 \ python3-dev llvm \ python3-venv && \ + python3-grpcio-tools && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* && \ - pip install --upgrade pip + rm -rf /var/lib/apt/lists/* + # && \ + # pip install --upgrade pip --break-system-packages -# Install grpcio-tools (the version in 22.04 is too old) -RUN pip install --user grpcio-tools +# Install grpcio-tools (the version in 24.04 is too old) +#RUN pip install --user grpcio-tools --break-system-packages ################################### ###################################