Add --break-system-packages so pip works on system Python

This commit is contained in:
Abhilash Raj
2023-12-26 10:47:22 +00:00
parent 354b346160
commit f3bca54120
6 changed files with 16 additions and 16 deletions

View File

@@ -14,8 +14,8 @@ RUN --mount=type=cache,target=/root/.cache \
postgresql-dev git libffi-dev g++ \
&& apk add --no-cache bash su-exec postgresql-client mysql-client \
curl python3 py3-pip linux-headers py-cryptography mariadb-connector-c tzdata \
&& python3 -m pip install -U psycopg2 pymysql setuptools wheel \
&& python3 -m pip install \
&& python3 -m pip install -U --break-system-packages psycopg2 pymysql setuptools wheel \
&& python3 -m pip install --break-system-packages \
git+https://gitlab.com/mailman/mailman \
git+https://gitlab.com/mailman/mailman-hyperkitty \
gunicorn==19.9.0 \