fix: add PIP_BREAK_SYSTEM_PACKAGES=1 for Debian Trixie PEP 668
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Failing after 54s
Docker Build and Push / test (pull_request) Has been skipped
Docker Build and Push / push (pull_request) Has been skipped

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:
2026-06-12 08:10:46 -04:00
parent bba9068158
commit 1e05c40ffc
+1
View File
@@ -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" && \