2024-09-17 23:57:46 UTC
27.1 MB
E3FF2839C048B25C084DEBE9B26995E310250568
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_VERSION3.9.20
TZAsia/Shanghai
[#000] sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 - 12.76% (3.46 MB)
[#001] sha256:7944f42514f614aa154e647aa777970d57d0715a3b68fe56bf7888ef91756583 - 1.6% (444 KB)
[#002] sha256:136b49855e1e8023247a399c803055a476aed5ca359e8dceb4a4f7cac58fffc9 - 50.93% (13.8 MB)
[#003] sha256:a011676a71080b8205ac76f97043aa00ac0071dfed4d95a477b28083de1c180e - 0.0% (250 Bytes)
[#004] sha256:5ab7130479197e761e8f91d93ace2cfb63b613815d68563a1937d405bff4aa3c - 16.2% (4.39 MB)
[#005] sha256:14f59695acd23c0c327d059503f4991e89903d3f644a92357a4da874e11cdd6a - 0.0% (93 Bytes)
[#006] sha256:8d1c5bc50a895d039519216e54e1b77d61ead7a11b3ed8ba4ede7642a82a2003 - 0.0% (192 Bytes)
[#007] sha256:18bb6cf0b1128a67813d4be2b22d37e94ddb2d2d94078205be7ca8ad6795c90b - 18.49% (5.01 MB)
[#008] sha256:853b33368a74ac157210e3a0f00a11eb0da91cdba3dec9401e79c34cab325587 - 0.01% (2.02 KB)
[#009] sha256:94e35f762847230fcb6cd12e138c66cb2a6f01157ef4d2a32aa55371fca70c19 - 0.01% (2.94 KB)
[#010] sha256:f68a5f7fe4842a206cb64315f1a16f5db4276e025444aa012fcac1868e4b3d84 - 0.0% (524 Bytes)
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
2024-09-06 22:20:07 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.9.20
2024-09-09 17:16:05 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-system-expat --with-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; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==58.1.0' wheel ; pip3 --version # buildkit
2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pip3 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-09-09 17:16:05 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-09-17 14:40:37 UTC/bin/sh -c #(nop) ENV TZ=Asia/Shanghai
2024-09-17 14:40:40 UTC/bin/sh -c apk update && apk add --no-cache curl
2024-09-17 14:40:41 UTC/bin/sh -c #(nop) WORKDIR /app
2024-09-17 14:43:29 UTC/bin/sh -c #(nop) COPY file:ae771ab165817c346a0c044248fbd16c3f64534a3d1db40fa124fb99a83885c6 in requirements.txt
2024-09-17 14:43:38 UTC/bin/sh -c pip install --no-cache-dir -r requirements.txt
2024-09-17 23:57:46 UTC/bin/sh -c #(nop) COPY dir:49007e4063af010501ff8980ed47ba2a9616fd44ed5658d1a2eeaf3e91ffa3a0 in ./templates
2024-09-17 23:57:46 UTC/bin/sh -c #(nop) COPY file:8a190fdb8bcdba93793aea443c7775ac36a85fdcb29db40089d839df355a86d6 in .
2024-09-17 23:57:46 UTC/bin/sh -c #(nop) COPY file:c063154bae2d850acfc77d358c1d8249580d4edfe02ea222fc2bcf17a4a258fc in .
2024-09-17 23:57:46 UTC/bin/sh -c #(nop) CMD ["python" "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.