From bc8062c393afa495cae79072d6a2b0013b592862 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 8 Sep 2023 22:45:32 +0300
Subject: [PATCH] pre-commit image: Allow Pip to install system-level packages.

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

diff --git a/images/pre-commit/Dockerfile b/images/pre-commit/Dockerfile
index b67dbbe..835a4db 100644
--- a/images/pre-commit/Dockerfile
+++ b/images/pre-commit/Dockerfile
@@ -12,8 +12,7 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | \
         python3-setuptools \
         python3-venv \
     && \
-    python3 -m pip install --no-cache-dir --upgrade pip && \
-    python3 -m pip install --no-cache-dir \
+    python3 -m pip install --no-cache-dir --break-system-packages \
         docker-compose \
         pipenv \
         poetry \
-- 
GitLab