Skip to content

Commit 6183e68

Browse files
committed
Add skip pip install (installed via apt Debian-managed) #2521
1 parent 9495e0d commit 6183e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DockerBuild/CICD-Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN python3 --version | grep -qi "3.12" || (echo "ERROR: python3 symlink failed"
5757
# install python3.12 deps using python3 (which points to python3.12) for consistency
5858
# Note: Ubuntu 24.04 enforces PEP 668 (externally-managed environment), so system-wide pip installs are blocked.
5959
# added --break-system-packages to bypass this restriction
60-
RUN cd /mnt/data/orangeboard/production/RTX && python3 -m pip install --upgrade pip --break-system-packages
60+
# pip 24.0 is already installed via apt (Debian-managed), skip upgrade
6161
RUN cd /mnt/data/orangeboard/production/RTX && python3 -m pip install click==8.1.3 --break-system-packages
6262
RUN cd /mnt/data/orangeboard/production/RTX && python3 -m pip install -r requirements.txt --break-system-packages
6363
RUN cd /mnt/data/orangeboard/production/RTX && python3 -m pip install 'connexion[swagger-ui]' --break-system-packages

0 commit comments

Comments
 (0)