Update pip to allow breaking system packages

This commit is contained in:
Abhilash Raj
2023-12-11 23:30:25 +05:30
committed by GitHub
parent 279825d83e
commit cb243f46bb

View File

@@ -14,8 +14,8 @@ RUN --mount=type=cache,target=/root/.cache \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc tzdata \
postgresql-client mysql-client py3-mysqlclient curl mailcap gettext \
python3 py3-pip xapian-core xapian-bindings-python3 libffi pcre-dev py-cryptography \
&& python3 -m pip install -U 'Django<4.2' pip setuptools wheel \
&& pip install -r /tmp/requirements.txt \
&& pip install --break-system-packages -U 'Django<4.2' pip setuptools wheel \
&& pip install --break-system-packages -r /tmp/requirements.txt \
whoosh \
uwsgi \
psycopg2 \