Skip to content

Commit bcd7701

Browse files
committed
fix: do not use pip system-wide anymore
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 7a15ff1 commit bcd7701

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,14 @@ RUN apt-get update && \
9595
python-is-python3 \
9696
python3-dev llvm \
9797
python3-venv && \
98+
python3-grpcio-tools && \
9899
apt-get clean && \
99-
rm -rf /var/lib/apt/lists/* && \
100-
pip install --upgrade pip
100+
rm -rf /var/lib/apt/lists/*
101+
# && \
102+
# pip install --upgrade pip --break-system-packages
101103

102-
# Install grpcio-tools (the version in 22.04 is too old)
103-
RUN pip install --user grpcio-tools
104+
# Install grpcio-tools (the version in 24.04 is too old)
105+
#RUN pip install --user grpcio-tools --break-system-packages
104106

105107
###################################
106108
###################################

0 commit comments

Comments
 (0)