Tag

library/python:3.10.14-alpine3.19
Content Digest: sha256:d245458bc261ed29e52f69afd48b2b9666a10e1ccd53329db0d17cc72e361fbe
Manifests
Details
Content Digest

sha256:1a4302e73c5dbd1f195f87fca72df940d4e78e03159f709fccfee2d4eeb7dcfd

Created

2024-08-29 23:26:33 UTC

Size

18.5 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:f8365d87ce9a9886c88284fcf1fc48ad082e1d5ba8d0d788aeb9e49923921970 - 16.77% (3.1 MB)

[#001] sha256:c9afc3f14ad7501519764297e34592e0755d21d08ea0fef6f21479680a2dc3ca - 3.24% (614 KB)

[#002] sha256:33ef7760c77b1e4c179a614179d169ee6e7824cc37e12d44998648e1af626cf1 - 64.11% (11.9 MB)

[#003] sha256:df96305a33364d1408d5ef4f30020865db10fb76ff591fb64367eea2a08cf667 - 0.0% (228 Bytes)

[#004] sha256:77ddb34ea753deed2eb8e002ae9687419657e6999051ecfef7f71ae6d4390d0f - 15.88% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:19a9ac542bad192441d76d7dbe5496866d50d90786aa582a9a470a6f5c620f42 in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:fc4b504ca046ea4caa4f26fed7b3b7f1344c5439db7b33468aa52ff62af88621

Created

2024-08-29 23:26:33 UTC

Size

18.4 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:94c7366c1c3058fbc60a5ea04b6d13199a592a67939a043c41c051c4bfcd117a - 17.68% (3.26 MB)

[#001] sha256:3cb7c4ea4cd654e86a0a5a4e648139bfa4da78971fc4bc972622db5b4ac76e9e - 3.25% (613 KB)

[#002] sha256:7bad3b808f40245c6eebdb0210f385e97a98e5ca5b303ad4f5ec7c703f033893 - 63.15% (11.6 MB)

[#003] sha256:28978ce9af6b330929286fcb5b29599e63f215c7ce0915ab6da55c873c19c6a4 - 0.0% (230 Bytes)

[#004] sha256:95ca6340b682d171dc429618b9a4d1cd0a876b7e9f548ed24fba65c8dffb1fe9 - 15.93% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:9e193d6fff4bce11c0ee715ad87def9ef40e9608d4be84cf73391edd45b2810e in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:59ff748667f6c8c396124e2ec374c3177d676903a4c4cc3771e6cc4892f9affa

Created

2024-08-29 23:26:33 UTC

Size

17.9 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:8922ced57063579c37aeb21c1c664433762d26f8051e187a63b559c21b36da53 - 16.94% (3.03 MB)

[#001] sha256:d0a39bdf9d326d55be66a6472913d0bdbe3b64af11a3fa17f368b4581b594e62 - 3.35% (614 KB)

[#002] sha256:bce5f700df5cde24892a5cb39abc66ffb26e48cb046cd50f9bd78c4447dfb382 - 63.27% (11.3 MB)

[#003] sha256:87b6884a213d3dd1b80300e8a572ca84652ecd05735e72374912f5b29ba5b302 - 0.0% (231 Bytes)

[#004] sha256:161fa61ce1dfd8c93cc2be082c1a113df6c1c7462da250b68e61d77dce596823 - 16.43% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:87d4cb9e99b4a12939a030198a62d49f1c5b7856f27d62fea0e948cd2120d51d in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:909b118f1ac529da3615177fa6d14686214b28afd3067c3f496d9d52e53e47f7

Created

2024-08-29 23:26:33 UTC

Size

17.2 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:426a5537ab470cede64a1b269dbc9f485fa674bec59555cdaa5a1c96e6675b0d - 16.19% (2.79 MB)

[#001] sha256:d2773a0915bfcbc78e079faa18251ac0d879f0f82697ee83220c411ab06dd1bb - 3.47% (613 KB)

[#002] sha256:553602f3fad8fd2e21148441138eee22fa76812304ec8aa151ffbcdbd5c766f6 - 63.3% (10.9 MB)

[#003] sha256:10bc3b7763f47deb3d83ab0846ed9ad16a39dc7942fb2e2d0615b8c358b051d8 - 0.0% (230 Bytes)

[#004] sha256:3547b68a1639283d9f25335ecaaf14e4da17e633a18da9ac4eff82e29f5f6224 - 17.04% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:a0a04eec8c7b34f27431bfd6edc27b4c05f2174daf93e40c263717d2469dcebd in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:489ebf833b8ced855b7eae05518a5508441fe8a968e95db2b38086489338befc

Created

2024-08-29 23:26:33 UTC

Size

18.5 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:188a7166e45935ced07634efdc8e63c13f5f7673b60b051b353475ee00e28fe0 - 17.35% (3.2 MB)

[#001] sha256:aaf2f2790992c8c78211ff5181c3fb0eb2710f0d4ab4c29278770b838db532c2 - 3.25% (616 KB)

[#002] sha256:921843cb30a63fd6bf528bce6c367f74de8b41b54c5e994165ce46a485f85ab2 - 63.48% (11.7 MB)

[#003] sha256:571a4fe23d58e942a73686e017577a032786ca206d27d6ef97a768369afb7a9c - 0.0% (230 Bytes)

[#004] sha256:7073148b374a17e3665487ec3945655f3c3af6eae59ac8f498b14013d3491f17 - 15.91% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:9865d69f45511580cc2a05d8a9573251b6eb5a84520efe2e8295532e3ccd6321 in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:e39d87a7d4704fdf199544a1b88847e06b595fcb63e052ea92d35b32a87ad155

Created

2024-08-29 23:26:33 UTC

Size

18.9 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:1274ef399099f48829c82f23090a3c36444839648f7cf9fbf44c7518257fcdd2 - 16.99% (3.21 MB)

[#001] sha256:5749dced5c3ea885609ac4ce0f87b1f345b6e9df997e9a8b0aaceac5eaaa6e3f - 3.19% (616 KB)

[#002] sha256:69ef943a2b850da544bbb4193723c258ac3af916c8dc6947383b54872e85a11e - 64.25% (12.1 MB)

[#003] sha256:baeeddc7e166b723a933d51226076e889bd9dd0e78b19e8a6587e464dbf34a82 - 0.0% (231 Bytes)

[#004] sha256:29e7ab019b72b4a3169a9ae53ce2d98dadaee2a66d82b5603729797f2688912e - 15.56% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:2b460e2f1af1fd81bcf839fbca42c282e18754a310086d2d55772cfcaff3154e in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Details
Content Digest

sha256:27d5f690ceff8da86d70ef311a258a3d3364b06de4e9b2ea30ea1a1803d2708d

Created

2024-08-29 23:26:33 UTC

Size

18.6 MB


Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.14


Layers

[#000] sha256:dbf93dbda29c680e293e8229956c663ae9d4e8435d70335c363568788915cac5 - 16.72% (3.1 MB)

[#001] sha256:7bf180b200a9685ef5f8a9f8ba267cdaf8e59fe28f3b974eee5118a914d262ab - 3.23% (614 KB)

[#002] sha256:a3ade7f5d6a0e35d2dd5e2208fb9f66696182a8c8b3ae906d3838291b972b827 - 64.2% (11.9 MB)

[#003] sha256:f15aae961598def738bf22a3a510839332f3e1eacb6346751237474511c51770 - 0.0% (229 Bytes)

[#004] sha256:27d49996ee0dabe5f245cdf22b92dc01b89ac16050b904fb845cfe03c194bef7 - 15.84% (2.94 MB)


History
2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) ADD file:accee20143ffbe803d23675898d25fedbb25c04fcc9f4ddaa1ba5f066c5ae260 in /

2024-08-29 23:26:33 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.14

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" wheel ; rm -f get-pip.py; pip --version # buildkit

2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.