docker: allow installing pip packages system-wide (#11437)

Signed-off-by: rare-magma <rare-magma@posteo.eu>
This commit is contained in:
Nuno 2025-01-28 15:17:25 +01:00 committed by GitHub
parent 4bf3119d61
commit d7d1eccacc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,8 +55,9 @@ RUN apt-get update \
git \ git \
python3 \ python3 \
python3-pip \ python3-pip \
&& pip install --upgrade pip setuptools wheel \ python3-wheel \
&& pip install -r requirements.txt \ && pip install --break-system-packages --upgrade setuptools \
&& pip install --break-system-packages -r requirements.txt \
&& apt autoremove -y \ && apt autoremove -y \
&& apt clean -y \ && apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \ && rm -rf /tmp/* /var/tmp/* \