Add --break-system-packages so pip works on system Python
This commit is contained in:
@@ -11,8 +11,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 libffi libuuid pcre-dev py-cryptography \
|
||||
&& python3 -m pip install -U 'Django<4.2' pip setuptools wheel \
|
||||
&& python3 -m pip install postorius==1.3.7 \
|
||||
&& python3 -m pip install --break-system-packages -U 'Django<4.2' pip setuptools wheel \
|
||||
&& python3 -m pip install --break-system-packages postorius==1.3.7 \
|
||||
uwsgi \
|
||||
'psycopg2<2.9' \
|
||||
dj-database-url \
|
||||
|
||||
Reference in New Issue
Block a user