2023-03-06 11:30:10 UTC
792 MB
bot:app
DEBIAN_FRONTENDnoninteractive
GPG_KEYA035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONPATH/app
PYTHON_GET_PIP_SHA256394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/d5cb0afaf23b8520f1bbcfed521017b4a95f5c01/public/get-pip.py
PYTHON_PIP_VERSION22.3.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.10.10
TZAsia/Shanghai
[#000] sha256:3f9582a2cbe7197f39185419c0ced2c986389f8fc6aa805e1f5c090eea6511e0 - 3.78% (30 MB)
[#001] sha256:57d9937f91c017aba99f0f612c832a63021706b0ebe3e2f1cf33c382135ad5fd - 0.13% (1.03 MB)
[#002] sha256:dba022ac4afc4d236bd5ac4a4cb0be5cef37960c9fe2d131c0f83ad4b871da60 - 1.42% (11.2 MB)
[#003] sha256:3d5a815b513099d6850af89944307fe760ad227ebc2a820cb8b499f5a1f96a32 - 0.0% (233 Bytes)
[#004] sha256:c27c062cfa2a051ce852a6e46bf6ba7a5045e0575ab0fbe540d9740041e93a29 - 0.4% (3.19 MB)
[#005] sha256:30c0b2fd864664c08b317e6c2ec9e119ed43c6bed22f3f804c8aff5ced405238 - 0.0% (99 Bytes)
[#006] sha256:b9115f684ba17632699716866928c47690875aaf8482adb33c4c3ae903d98ffd - 0.0% (541 Bytes)
[#007] sha256:56faea1306a7bbe9317919aac9121194a7004d25fc4611faf1be65c6e11a55da - 0.0% (541 Bytes)
[#008] sha256:8e1ffafb1f675ef89b04a53a91ef2eac2a9b1be8df589140af94b6886ee3e254 - 0.0% (994 Bytes)
[#009] sha256:8a8865dec3905573d732ae5252517c0b7636ab9385150b8b4b6c7abbd230f7b9 - 49.3% (391 MB)
[#010] sha256:f4e419ea429d822cbc3208a7c86141aa61040dc6c6ef9348f57fdf49c87e7601 - 6.93% (54.9 MB)
[#011] sha256:f23e3bc5a9ffe815fb0a1b8f4ece27d3be0c66e6be7712e3724b999f156e90e9 - 8.02% (63.6 MB)
[#012] sha256:dab342a906b99da6d9907e0b7a3c6dd176ae777ab615bdb978c190b26173f598 - 29.97% (237 MB)
[#013] sha256:304ae4c05500b92edbdc5a2d898816fcbc4bb67da462a8d4a3135168d68a2569 - 0.04% (306 KB)
/bin/sh -c #(nop) ADD file:493a5b0c8d2d63a1343258b3f9aa5fcd59a93f44fe26ad9e56b094c3a08fd3be in /
2023-03-01 04:09:59 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-03-01 14:09:04 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-03-01 14:09:04 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2023-03-01 14:09:09 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/*
2023-03-01 14:49:28 UTC/bin/sh -c #(nop) ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-03-01 15:25:52 UTC/bin/sh -c #(nop) ENV PYTHON_VERSION=3.10.10
2023-03-01 15:32:01 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg dirmngr libbluetooth-dev libbz2-dev libc6-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-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; command -v gpgconf > /dev/null && 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)"; 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 '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version
2023-03-01 15:32:01 UTC/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
2023-03-01 15:32:01 UTC/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.3.1
2023-03-01 15:32:01 UTC/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-03-01 15:32:02 UTC/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/d5cb0afaf23b8520f1bbcfed521017b4a95f5c01/public/get-pip.py
2023-03-01 15:32:02 UTC/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637
2023-03-01 15:32:13 UTC/bin/sh -c 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; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version
2023-03-01 15:32:13 UTC/bin/sh -c #(nop) CMD ["python3"]
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)WORKDIR /app
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)ENV TZ=Asia/Shanghai
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)COPY ./docker/start.sh /start.sh # buildkit
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c chmod +x /start.sh # buildkit
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)COPY ./docker/gunicorn_conf.py /gunicorn_conf.py # buildkit
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)ENV PYTHONPATH=/app
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)EXPOSE map[8086/tcp:{}]
2023-03-04 08:32:09 UTC (buildkit.dockerfile.v0)ENV APP_MODULE=bot:app
2023-03-04 08:32:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl p7zip-full fontconfig fonts-noto-color-emoji && curl -sSL https://github.com/be5invis/Sarasa-Gothic/releases/download/v0.37.4/sarasa-gothic-ttc-0.37.4.7z -o /tmp/sarasa.7z && 7z x /tmp/sarasa.7z -o/tmp/sarasa && install -d /usr/share/fonts/sarasa-gothic && install -m644 /tmp/sarasa/*.ttc /usr/share/fonts/sarasa-gothic && fc-cache -fv && apt-get purge -y --auto-remove curl p7zip-full && rm -rf /tmp/sarasa/ /tmp/sarasa.7z # buildkit
2023-03-04 08:33:08 UTC (buildkit.dockerfile.v0)COPY /wheel /wheel # buildkit
2023-03-04 08:33:23 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c pip install --no-cache-dir --no-index --find-links=/wheel -r /wheel/requirements.txt && rm -rf /wheel # buildkit
2023-03-04 08:33:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c playwright install --with-deps chromium # buildkit
2023-03-06 11:30:10 UTC (buildkit.dockerfile.v0)COPY . /app/ # buildkit
2023-03-06 11:30:10 UTC (buildkit.dockerfile.v0)CMD ["/start.sh"]
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.