We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9554b0d commit 48a8477Copy full SHA for 48a8477
Containerfile
@@ -22,9 +22,12 @@ RUN apt-get update \
22
&& apt-get clean \
23
&& rm -rf /var/lib/apt/lists/*
24
25
-# deadsnakes PPA does not ship python3.x-pip; bootstrap pip via ensurepip
26
-RUN python3.12 -m ensurepip --upgrade \
27
- && python3.13 -m ensurepip --upgrade
+# deadsnakes PPA does not ship python3.x-pip or ensurepip; bootstrap via get-pip.py
+# hadolint ignore=DL4006
+RUN 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
+ && rm /tmp/get-pip.py
31
32
# Configure buildah storage for container/rootless usage
33
RUN mkdir -p /etc/containers \
0 commit comments