We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e553562 commit 2c1de94Copy full SHA for 2c1de94
python/3/Dockerfile
@@ -20,10 +20,12 @@ RUN set -eux; \
20
rm -rf /var/lib/apt/lists/*
21
22
# Drop in Python 3.10
23
-COPY --from=py310 /usr/local/ /usr/local/
+COPY --from=py310 /usr/local/lib/python3.10/ /usr/local/lib/python3.10/
24
+COPY --from=py310 /usr/local/bin/ /usr/local/bin/
25
26
# Drop in Python 3.12
-COPY --from=py312 /usr/local/ /usr/local/
27
+COPY --from=py312 /usr/local/lib/python3.12/ /usr/local/lib/python3.12/
28
+COPY --from=py312 /usr/local/bin/ /usr/local/bin/
29
30
# Make explicit version shims available in /usr/bin
31
RUN ln -sf /usr/local/bin/python3.10 /usr/bin/python3.10 && \
0 commit comments