Namespace
cscs181
Image / Tag
qq-github-bot:sha-ce31242
Content Digest
sha256:b3b337132c71e8970e1d40980532776316df6c4594ea94fd82121f98042966bb
Details
Created

2022-12-17 09:08:13 UTC

Size

802 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2022-12-17T09:06:50.054Z
  • org.opencontainers.image.description
    GitHub Bot for QQ
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    ce3124252a590efe46838f28a408cc9cc85ae231
  • org.opencontainers.image.source
    https://github.com/cscs181/QQ-GitHub-Bot
  • org.opencontainers.image.title
    QQ-GitHub-Bot
  • org.opencontainers.image.url
    https://github.com/cscs181/QQ-GitHub-Bot
  • org.opencontainers.image.version
    master

Environment
APP_MODULE

bot:app

DEBIAN_FRONTEND

noninteractive

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

PYTHONPATH

/app

PYTHON_GET_PIP_SHA256

1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.3.1

PYTHON_SETUPTOOLS_VERSION

65.5.0

PYTHON_VERSION

3.10.9

TZ

Asia/Shanghai


Layers

[#000] sha256:025c56f98b679f70b7a54241917e56da7b59ab9d2defecc6ebdb0bf2750484bb - 3.74% (30 MB)

[#001] sha256:778656c04542093db6d3b6e07bffbcf6ec4b24709276be7cdf177fcb3666663a - 0.13% (1.03 MB)

[#002] sha256:871f7ecfc73efa137f4d06c7f716b045d9b7ff4e29992d4af062902b1bdb84c0 - 1.44% (11.6 MB)

[#003] sha256:0e69c18ce14d8c72a8d0f46b057f5fe1345900cae419baf61531d4afcc41075a - 0.0% (233 Bytes)

[#004] sha256:d5aa0f99f7663945c953d6d211de9feac2ad5204da617035ce130e432cc3f1ea - 0.4% (3.19 MB)

[#005] sha256:afef85a8f058459a718716d8d76ce3cdfb215f7a8af93a5c5da942f7f2a8883b - 0.0% (99 Bytes)

[#006] sha256:398ce56d5cc75c1da474d4cc161f9d1bc7b3100e4893030fde5f24c0a94cee83 - 0.0% (543 Bytes)

[#007] sha256:119ac418d4800aa2522f7b63ece7d6a9b496b6587c6307270f5893e68c8f0194 - 0.0% (542 Bytes)

[#008] sha256:7d2f41b16ce1eea204348eec3e005fd037b4e61dab60d629c0a7b951a19b4951 - 0.0% (994 Bytes)

[#009] sha256:602ce32086d0800d67b122958ab12c36330f5b479c26d61c3f96e27923e889e6 - 48.71% (391 MB)

[#010] sha256:f30cbfda255b61a80a879c16fcf598601f4019b482e11aabe81be9495c1374bb - 7.73% (62 MB)

[#011] sha256:7ddec8a4abbcaafd7f5b59c26deef1676089c0211500e46821cd07d591f5f45f - 8.84% (70.9 MB)

[#012] sha256:0b690df07cf30b8840859deb16c46571d7cc6b21119cc06a6bc7ef789fd4f52b - 28.99% (232 MB)

[#013] sha256:fdb322138d7c9a0dce1e437678ff99c05f4c28554b04c0770c96396c57a15c5d - 0.04% (296 KB)


History
2022-12-06 01:20:54 UTC

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

2022-12-06 01:20:54 UTC

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

2022-12-06 12:22:19 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2022-12-06 12:22:19 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2022-12-06 12:22:24 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/*

2022-12-06 13:21:13 UTC

/bin/sh -c #(nop) ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2022-12-08 01:37:52 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.10.9

2022-12-08 01:48:37 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)"; make -j "$nproc" LDFLAGS="-Wl,--strip-all" ; 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

2022-12-08 01:48:38 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

2022-12-08 01:48:38 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=22.3.1

2022-12-08 01:48:38 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=65.5.0

2022-12-08 01:48:38 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

2022-12-08 01:48:38 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

2022-12-08 01:48:49 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

2022-12-08 01:48:49 UTC

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

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

COPY ./docker/start.sh /start.sh # buildkit

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /start.sh # buildkit

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

COPY ./docker/gunicorn_conf.py /gunicorn_conf.py # buildkit

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/app

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

EXPOSE map[8086/tcp:{}]

2022-12-17 07:52:25 UTC (buildkit.dockerfile.v0)

ENV APP_MODULE=bot:app

2022-12-17 07:53:00 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

2022-12-17 09:07:43 UTC (buildkit.dockerfile.v0)

COPY /wheel /wheel # buildkit

2022-12-17 09:07:53 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

2022-12-17 09:08:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c playwright install --with-deps chromium # buildkit

2022-12-17 09:08:13 UTC (buildkit.dockerfile.v0)

COPY . /app/ # buildkit

2022-12-17 09:08:13 UTC (buildkit.dockerfile.v0)

CMD ["/start.sh"]

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.

Delete