Skip to content

Commit

Permalink
Merge pull request #29 from TillBeemelmanns/fix/safe_pip_conf_modific…
Browse files Browse the repository at this point in the history
…ation

Use build-in modification of pip.conf
  • Loading branch information
jpbusch authored Aug 2, 2024
2 parents 8baa84c + 0d5a347 commit 8f10aa1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*
# configure pip
RUN mkdir -p ~/.config/pip && \
echo -e "[global]\nbreak-system-packages = true" >> ~/.config/pip/pip.conf
RUN python -m pip config --global set global.break-system-packages true
# copy install script from dependencies stage
COPY --from=dependencies $WORKSPACE/.install-dependencies.sh $WORKSPACE/.install-dependencies.sh
Expand Down

0 comments on commit 8f10aa1

Please sign in to comment.