Skip to content

Commit b417276

Browse files
committed
chore(ci): do override pip in 24.04
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent dc6182b commit b417276

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

backend/Dockerfile.python

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,15 @@ RUN apt-get update && \
3131
python3-dev llvm \
3232
python3-venv make cmake && \
3333
apt-get clean && \
34-
rm -rf /var/lib/apt/lists/* && \
35-
pip install --upgrade pip
34+
rm -rf /var/lib/apt/lists/*
35+
36+
RUN <<EOT bash
37+
if [ "${UBUNTU_VERSION}" = "2404" ]; then
38+
pip install --break-system-packages --user --upgrade pip
39+
else
40+
pip install --upgrade pip
41+
fi
42+
EOT
3643

3744

3845
# Cuda

0 commit comments

Comments
 (0)