Skip to content

Commit 576df15

Browse files
committed
fix(python): refine file copies
1 parent 2c1de94 commit 576df15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/3/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ ARG DEBIAN_FRONTEND=noninteractive
1515
RUN set -eux; \
1616
apt-get update; \
1717
apt-get install -y --no-install-recommends \
18-
python3 python3-pip python3-venv; \
18+
python3.11 python3.11-pip python3.11-venv; \
1919
apt-get clean; \
2020
rm -rf /var/lib/apt/lists/*
2121

2222
# Drop in Python 3.10
23-
COPY --from=py310 /usr/local/lib/python3.10/ /usr/local/lib/python3.10/
23+
COPY --from=py310 /usr/local/lib/ /usr/local/lib/
2424
COPY --from=py310 /usr/local/bin/ /usr/local/bin/
2525

2626
# Drop in Python 3.12
27-
COPY --from=py312 /usr/local/lib/python3.12/ /usr/local/lib/python3.12/
27+
COPY --from=py312 /usr/local/lib/ /usr/local/lib/
2828
COPY --from=py312 /usr/local/bin/ /usr/local/bin/
2929

3030
# Make explicit version shims available in /usr/bin

0 commit comments

Comments
 (0)