fix: add PIP_BREAK_SYSTEM_PACKAGES=1 for Debian Trixie PEP 668
Debian Trixie enforces PEP 668 (externally-managed-environment), blocking system-wide pip installs. Export PIP_BREAK_SYSTEM_PACKAGES=1 to allow pip to install sabyenc and other Python deps in the container.
This commit is contained in:
@@ -24,6 +24,7 @@ ENV LANG C.UTF-8
|
||||
# hadolint ignore=DL3008,DL3015,SC3009,DL3003,DL3013,DL3042
|
||||
RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
|
||||
export DEBIAN_FRONTEND=noninteractive && \
|
||||
export PIP_BREAK_SYSTEM_PACKAGES=1 && \
|
||||
export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \
|
||||
export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \
|
||||
export PIP_PACKAGES="sabyenc" && \
|
||||
|
||||
Reference in New Issue
Block a user