Skip to content

Commit

Permalink
buildworker,buildmaster: Use venv for Pip
Browse files Browse the repository at this point in the history
Debian 12 complains if using Pip without a virtualenv since it could
break the system.

Signed-off-by: Paul Spooren <mail@aparcar.org>
  • Loading branch information
aparcar committed Sep 26, 2024
1 parent c0a50aa commit ff777ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/buildmaster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ RUN \
locales \
pv \
pwgen \
python3-venv \
python3-pip \
signify-openbsd \
wget && \
apt-get clean && \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8

RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip3 install -U pip
RUN \
pip3 install \
Expand Down

0 comments on commit ff777ef

Please sign in to comment.