Skip to content

Commit 19f3c9e

Browse files
committed
refactor(python): switch to python-3.11 as base image
1 parent 931b9cc commit 19f3c9e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

python/3/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,13 @@
44
FROM python:3.10-slim-bookworm AS py310
55
FROM python:3.12-slim-bookworm AS py312
66

7-
FROM ghcr.io/cubecoders/amp:debian
7+
FROM ghcr.io/cubecoders/amp:python-3.11
88
LABEL org.opencontainers.image.licenses=MIT
99

1010
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
1111

1212
ARG DEBIAN_FRONTEND=noninteractive
1313

14-
# System Python (3.11) from Debian
15-
RUN set -eux; \
16-
apt-get update; \
17-
apt-get install -y --no-install-recommends \
18-
python3 python3-venv python3-pip; \
19-
apt-get clean; \
20-
rm -rf /var/lib/apt/lists/*
21-
2214
# Drop in upstream Python 3.10
2315
COPY --from=py310 /usr/local/bin/python3.10 /usr/local/bin/
2416
COPY --from=py310 /usr/local/bin/pip3.10 /usr/local/bin/

0 commit comments

Comments
 (0)