File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ ARG DEBIAN_FRONTEND=noninteractive
1212RUN set -eux; \
1313 apt-get update; \
1414 apt-get install -y --no-install-recommends \
15- python3.11 python3-pip python3 .11-venv; \
15+ python3.11 python3.11-venv python3-pip ; \
1616 apt-get clean; \
1717 rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ COPY --from=py310 /usr/local/bin/ /usr/local/bin/
2727COPY --from=py312 /usr/local/lib/ /usr/local/lib/
2828COPY --from=py312 /usr/local/bin/ /usr/local/bin/
2929
30- # Make explicit version shims available in /usr/bin, and remove conflicting shims in /usr/local/bin
30+ # Clean up
3131RUN set -eux; \
32+ python3.10 -m pip --no-cache-dir install --upgrade pip setuptools wheel; \
33+ python3.12 -m pip --no-cache-dir install --upgrade pip setuptools wheel; \
3234 for shim in python3.10 python3.12 pip3.10 pip3.12; do \
3335 ln -sf "/usr/local/bin/$shim" "/usr/bin/$shim" ; \
3436 done; \
You can’t perform that action at this time.
0 commit comments