diff --git a/images/pre-commit/Dockerfile b/images/pre-commit/Dockerfile
index b67dbbed772689acc2f94a85b1b31131da028da4..835a4dbafea1ebecf5bacfa640c59942b7b27996 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 \