diff --git a/images/pre-commit/Dockerfile b/images/pre-commit/Dockerfile index 835a4dbafea1ebecf5bacfa640c59942b7b27996..55e50bae76a132d5d9302bfb8053a66e23f5cfb8 100644 --- a/images/pre-commit/Dockerfile +++ b/images/pre-commit/Dockerfile @@ -12,6 +12,8 @@ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | \ python3-setuptools \ python3-venv \ && \ + export PIP_CONSTRAINT=/tmp/constraint.txt && \ + echo 'Cython < 3.0' > "$PIP_CONSTRAINT" && \ python3 -m pip install --no-cache-dir --break-system-packages \ docker-compose \ pipenv \