mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
PIP force --break-system-packages
We're intentionally bypassing PEP 668 [1], which prevents the installation of non-distro python wheels alongside system packages to avoid incompatibilities at distro-level. We are intentionally bypassing this since our container image is a controlled environment (we only ship a version after rigorous testing). [1]: https://peps.python.org/pep-0668/
This commit is contained in:
parent
b75417bbec
commit
7b57cb209e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ RUN apk --no-cache -U upgrade && \
|
||||||
font-noto-cjk
|
font-noto-cjk
|
||||||
|
|
||||||
RUN apk --no-cache add --virtual .builddeps g++ gcc make python3-dev py3-pip \
|
RUN apk --no-cache add --virtual .builddeps g++ gcc make python3-dev py3-pip \
|
||||||
&& pip install --upgrade PyMuPDF \
|
&& pip install --break-system-packages --upgrade PyMuPDF \
|
||||||
&& apk del .builddeps # FIXME freeze w/ hashes
|
&& apk del .builddeps # FIXME freeze w/ hashes
|
||||||
|
|
||||||
# Download the trained models from the latest GitHub release of Tesseract, and
|
# Download the trained models from the latest GitHub release of Tesseract, and
|
||||||
|
|
Loading…
Reference in a new issue