2024-11-18 12:21:07 UTC
25.7 MB
7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA2567cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.1
[#000] sha256:4a0759b5afbffdc507fbb4e32b3a139063c3a5c0829f811973850447f98830ae - 12.03% (3.09 MB)
[#001] sha256:e7840a0a3a40a6b02ee9c509f8552e6bb70f9a8fb94398de1cfd742dc05d6050 - 2.31% (608 KB)
[#002] sha256:d89a6fae803be2815fb73d36002db0a6aa6c6261cb6d1c568c1e00ae02507350 - 44.24% (11.4 MB)
[#003] sha256:81d0d6b56ec289e87c9c0271325d2cae165bad58b6190ea25e22cd8299e0c963 - 0.0% (242 Bytes)
[#004] sha256:07ce0078de875cf898e1a8d7656ea15eb2eace9d4a114c658313f5733402e8ba - 9.92% (2.55 MB)
[#005] sha256:ccd4d0839c721f03c6e98380b3009ccf8a5c2aa4b2a5a002656060b003d9a524 - 0.0% (93 Bytes)
[#006] sha256:736a82a56bca60d97ceee0d34894847d46cb8aa81ee914e94eedfc99868a8b57 - 29.32% (7.54 MB)
[#007] sha256:4687d87a35e571b9d629748fb76e7b7db273bf52e60cc2bede0a6afe422a5f1c - 2.18% (574 KB)
/bin/sh -c #(nop) ADD file:50130ffc87b68d2889c28269d2783e37c42087ce4793108222ad53ed22443a90 in /
2024-01-27 00:38:19 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.1
2023-12-20 04:08:00 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 --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
2023-12-20 04:08:00 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
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
2023-12-20 04:08:00 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" ; rm -f get-pip.py; pip --version # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-18 12:19:39 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-18 12:21:07 UTC (buildkit.dockerfile.v0)COPY /install /usr/local # buildkit
2024-11-18 12:21:07 UTC (buildkit.dockerfile.v0)COPY ./ /app # buildkit
2024-11-18 12:21:07 UTC (buildkit.dockerfile.v0)CMD ["python" "/app/app.py"]
2024-11-18 12:20:03 UTC
28.1 MB
7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA2567cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.1
[#000] sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 - 11.55% (3.25 MB)
[#001] sha256:dca80dc46cecdd1a97787a1dd6f74263b9d2f7b0dd3e2e15c109f5e34848c932 - 2.11% (608 KB)
[#002] sha256:3324090550b366dbaf4d04fee0fd968ec60e512074e8d55f920b071504a7cca8 - 39.78% (11.2 MB)
[#003] sha256:f5c92aa967a63189326ac94fc0e69639bc07d45a9115db64699f172fb9c8ff13 - 0.0% (242 Bytes)
[#004] sha256:34eb5116f7f20b925d8b5185ea5b0e1bc4ff6b597598f947fdcb4ea8379a8b58 - 9.07% (2.55 MB)
[#005] sha256:ccd4d0839c721f03c6e98380b3009ccf8a5c2aa4b2a5a002656060b003d9a524 - 0.0% (93 Bytes)
[#006] sha256:013bb284c1708f830f2fb68f2209cc13d9fabc4e9e81da84e664aed6a276fb59 - 35.49% (9.98 MB)
[#007] sha256:4687d87a35e571b9d629748fb76e7b7db273bf52e60cc2bede0a6afe422a5f1c - 1.99% (574 KB)
/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
2024-01-27 00:30:48 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.1
2023-12-20 04:08:00 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 --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
2023-12-20 04:08:00 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
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
2023-12-20 04:08:00 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" ; rm -f get-pip.py; pip --version # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-18 12:19:39 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-18 12:20:03 UTC (buildkit.dockerfile.v0)COPY /install /usr/local # buildkit
2024-11-18 12:20:03 UTC (buildkit.dockerfile.v0)COPY ./ /app # buildkit
2024-11-18 12:20:03 UTC (buildkit.dockerfile.v0)CMD ["python" "/app/app.py"]
2024-11-18 12:30:02 UTC
24.5 MB
7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA2567cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.1
[#000] sha256:0dc2e6c0f9ded2daeca96bbf270526d182d2f4267f5c7610c222c05cad6f6b96 - 12.33% (3.02 MB)
[#001] sha256:f2b53c3012ed72d5fef495f1a028562840d96a9a8f213ee53ccafb5f5ac2f66f - 2.43% (609 KB)
[#002] sha256:d1e45e1e2ba42431818b3059a082f92654090f7181920964f2a49c01fff13e3d - 44.07% (10.8 MB)
[#003] sha256:40bcdda839306fffb45b0c9ca716670788348db6fd9bf0c4611f730b5fc36269 - 0.0% (240 Bytes)
[#004] sha256:6e1e0a21a273b6dab1955e832a2e14facaacbf1b387292f32c2a558956b0949b - 10.42% (2.55 MB)
[#005] sha256:ccd4d0839c721f03c6e98380b3009ccf8a5c2aa4b2a5a002656060b003d9a524 - 0.0% (93 Bytes)
[#006] sha256:22eaa6c2bc1503faeb26cd743d076d42a9f8eafab3f92e3de142c8b89f2942d2 - 28.46% (6.97 MB)
[#007] sha256:4687d87a35e571b9d629748fb76e7b7db273bf52e60cc2bede0a6afe422a5f1c - 2.29% (574 KB)
/bin/sh -c #(nop) ADD file:99cc37cba14ac64dc4652e46dc671888a0265f90992faa05c32d32e21f89c147 in /
2024-01-26 23:49:17 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.1
2023-12-20 04:08:00 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 --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
2023-12-20 04:08:00 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
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
2023-12-20 04:08:00 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" ; rm -f get-pip.py; pip --version # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-18 12:19:39 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-18 12:30:02 UTC (buildkit.dockerfile.v0)COPY /install /usr/local # buildkit
2024-11-18 12:30:02 UTC (buildkit.dockerfile.v0)COPY ./ /app # buildkit
2024-11-18 12:30:02 UTC (buildkit.dockerfile.v0)CMD ["python" "/app/app.py"]
2024-11-18 12:30:03 UTC
23.9 MB
7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA2567cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.1
[#000] sha256:fda0ff469afd28d9cfbb946e8e0a3c911c591a2691bea62be9187e45a1c50549 - 11.66% (2.78 MB)
[#001] sha256:3966cfc81792baee0378a9d2d85424676e1972ac6efaf02823ead42801b9b955 - 2.49% (608 KB)
[#002] sha256:0ef728ed8a319ad57f538a2b196d79d51cceffbc8abf3b3b17ed2b6a560e4cc9 - 43.54% (10.4 MB)
[#003] sha256:9f7bc0114e50a6d3bc8cd1d84847b9f36a6f9c908499d54b20351639bc8ea50f - 0.0% (240 Bytes)
[#004] sha256:7346d9f7aadb1aca798fb259de4b2989a918ad2728b60ddea8410a378db53ce0 - 10.69% (2.55 MB)
[#005] sha256:ccd4d0839c721f03c6e98380b3009ccf8a5c2aa4b2a5a002656060b003d9a524 - 0.0% (93 Bytes)
[#006] sha256:ab21ca861c7bccb6c7efd9f3d57fa50ad2ebcf53e88aab65e2892827a983383d - 29.26% (6.98 MB)
[#007] sha256:4687d87a35e571b9d629748fb76e7b7db273bf52e60cc2bede0a6afe422a5f1c - 2.35% (574 KB)
/bin/sh -c #(nop) ADD file:dca2a738b46ed78f0ccd7e23ba4d4729528feaa423a0ff0ac5c3512bf43b6fae in /
2024-01-27 00:14:54 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.1
2023-12-20 04:08:00 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 --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
2023-12-20 04:08:00 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
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
2023-12-20 04:08:00 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" ; rm -f get-pip.py; pip --version # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-18 12:19:39 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-18 12:30:03 UTC (buildkit.dockerfile.v0)COPY /install /usr/local # buildkit
2024-11-18 12:30:03 UTC (buildkit.dockerfile.v0)COPY ./ /app # buildkit
2024-11-18 12:30:03 UTC (buildkit.dockerfile.v0)CMD ["python" "/app/app.py"]
2024-11-18 12:21:47 UTC
28.1 MB
7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA2567cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
PYTHON_PIP_VERSION23.2.1
PYTHON_VERSION3.12.1
[#000] sha256:bca4290a96390d7a6fc6f2f9929370d06f8dfcacba591c76e3d5c5044e7f420c - 11.36% (3.19 MB)
[#001] sha256:190fa4880b84a89cd734aeddf7f4553ca139e4d53722c41c54d930662c13fec8 - 2.12% (611 KB)
[#002] sha256:4fabdd2208f9a5c4a4c02c12095294cf7215e7c07dac9574a102f53af79bb2b7 - 40.03% (11.3 MB)
[#003] sha256:8e62117397644e06be616158b0567b371cc6cdcaad2717110f6cc4bc65e4f980 - 0.0% (239 Bytes)
[#004] sha256:0a140cc01431d3dd230558dca1d5a5f7f7d9357f5b523514955c3e697d5bbe84 - 9.08% (2.55 MB)
[#005] sha256:ccd4d0839c721f03c6e98380b3009ccf8a5c2aa4b2a5a002656060b003d9a524 - 0.0% (93 Bytes)
[#006] sha256:80e8a20a00527e82257543793e42cc5d48ac73405a4aceeb03e71d0fa6287075 - 35.42% (9.96 MB)
[#007] sha256:4687d87a35e571b9d629748fb76e7b7db273bf52e60cc2bede0a6afe422a5f1c - 1.99% (574 KB)
/bin/sh -c #(nop) ADD file:d0764a717d1e9d0aff3fa84779b11bfa0afe4430dcb6b46d965b209167639ba0 in /
2024-01-26 23:44:47 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.1
2023-12-20 04:08:00 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 --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
2023-12-20 04:08:00 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
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=23.2.1
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/049c52c665e8c5fd1751f942316e0a5c777d304f/public/get-pip.py
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=7cfd4bdc4d475ea971f1c0710a5953bcc704d171f83c797b9529d9974502fcc6
2023-12-20 04:08:00 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" ; rm -f get-pip.py; pip --version # buildkit
2023-12-20 04:08:00 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-11-18 12:19:39 UTC (buildkit.dockerfile.v0)WORKDIR /app
2024-11-18 12:21:47 UTC (buildkit.dockerfile.v0)COPY /install /usr/local # buildkit
2024-11-18 12:21:47 UTC (buildkit.dockerfile.v0)COPY ./ /app # buildkit
2024-11-18 12:21:47 UTC (buildkit.dockerfile.v0)CMD ["python" "/app/app.py"]
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.