Skip to content

Commit 8b9b217

Browse files
committed
Addressed pip system package errors
1 parent f1646da commit 8b9b217

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ RUN apk -U add --no-cache \
3636
git \
3737
grep \
3838
py3-pip \
39+
py3-wheel \
3940
python3 \
4041
shadow \
41-
tzdata && \
42-
python3 -m pip install --no-cache-dir --upgrade pip wheel
42+
tzdata
4343

4444
# add s6-overlay scripts and config
4545
ADD root/ /
@@ -58,7 +58,7 @@ ENV PATH=/opt/cloudplow:${PATH}
5858
RUN git config pull.ff only
5959

6060
# install pip requirements
61-
RUN python3 -m pip install --no-cache-dir --upgrade -r requirements.txt
61+
RUN python3 -m pip install --no-cache-dir --upgrade --break-system-packages -r requirements.txt
6262

6363
ENTRYPOINT ["/bin/sh", "-c"]
6464
CMD ["/init"]

0 commit comments

Comments
 (0)