Skip to content

Commit

Permalink
add --break-system-packages flag to allow system-wide python package …
Browse files Browse the repository at this point in the history
…installations
  • Loading branch information
hugo-gomes committed Apr 30, 2024
1 parent 7867c2b commit b7eaa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python-is-python3 &&\
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
python get-pip.py --no-cache-dir --no-compile &&\
python get-pip.py --no-cache-dir --no-compile --break-system-packages &&\
rm get-pip.py

CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.noble
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update &&\
apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python-is-python3 &&\
apt-get clean && rm -rf /var/lib/apt/lists/* &&\
wget "https://bootstrap.pypa.io/get-pip.py" &&\
python get-pip.py --no-cache-dir --no-compile &&\
python get-pip.py --no-cache-dir --no-compile --break-system-packages &&\
rm get-pip.py

CMD ["/bin/bash"]

0 comments on commit b7eaa56

Please sign in to comment.