refactor: 3.11/slim-bullseye

This commit is contained in:
liamjung 2023-01-17 21:35:13 +08:00
parent b6983b6e04
commit 8effa5e61d
2 changed files with 32208 additions and 4 deletions

View File

@ -116,17 +116,14 @@ RUN set -eux; \
ENV PYTHON_PIP_VERSION 22.3.1
# https://github.com/docker-library/python/issues/365
ENV PYTHON_SETUPTOOLS_VERSION 65.5.1
# https://github.com/pypa/get-pip
ENV PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py
ENV PYTHON_GET_PIP_SHA256 1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6
COPY get-pip.py .
RUN set -eux; \
\
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends wget; \
\
wget -O get-pip.py "$PYTHON_GET_PIP_URL"; \
echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; \
\
apt-mark auto '.*' > /dev/null; \

32207
3.11/slim-bullseye/get-pip.py Normal file

File diff suppressed because it is too large Load Diff