Skip to content

Commit 95a7bf0

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

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

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

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

105108
###################################
106109
###################################

0 commit comments

Comments
 (0)