From 71ba42a1c7dc0c566fc27c88155b17d2ec40666f Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 8 Sep 2023 22:47:47 +0300
Subject: [PATCH] Python3 image: Allow Pip to install system level packages.

---
 images/python3/Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/images/python3/Dockerfile b/images/python3/Dockerfile
index e73fe07..758e477 100644
--- a/images/python3/Dockerfile
+++ b/images/python3/Dockerfile
@@ -6,8 +6,7 @@ RUN apt-get update && \
         python3-pip \
         python3-venv \
     && \
-    python3 -m pip install --progress-bar=off --no-cache-dir --upgrade pip && \
-    python3 -m pip install --progress-bar=off --no-cache-dir --upgrade \
+    python3 -m pip install --progress-bar=off --no-cache-dir --upgrade --break-system-packages \
         pipenv \
         poetry \
         tox \
-- 
GitLab