File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,13 @@ RUN apt-get update \
2222 && apt-get clean \
2323 && rm -rf /var/lib/apt/lists/*
2424
25- # deadsnakes PPA does not ship python3.x-pip or ensurepip; bootstrap via get-pip.py
25+ # deadsnakes PPA does not ship python3.x-pip; bootstrap via get-pip.py.
26+ # PEP 668 marks the environment as externally managed; --break-system-packages is
27+ # acceptable in a container image where we own the environment.
2628# hadolint ignore=DL4006
2729RUN curl -sSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py \
28- && python3.12 /tmp/get-pip.py --no-cache-dir \
29- && python3.13 /tmp/get-pip.py --no-cache-dir \
30+ && python3.12 /tmp/get-pip.py --no-cache-dir --break-system-packages \
31+ && python3.13 /tmp/get-pip.py --no-cache-dir --break-system-packages \
3032 && rm /tmp/get-pip.py
3133
3234# Configure buildah storage for container/rootless usage
You can’t perform that action at this time.
0 commit comments