Namespace
cscs181
Image / Tag
qq-github-bot:sha-66da9c5
Content Digest
sha256:10c0c9cbedeb730ce4530a1ee249d8c8984a92b81b2d9c4098fb4af790ea84cd
Details
Created

2022-12-21 12:22:52 UTC

Size

802 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2022-12-21T12:22:02.049Z
  • org.opencontainers.image.description
    GitHub Bot for QQ
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    66da9c54f9a50a2f35d1d4dcdfae22274a56983f
  • 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:3f4ca61aafcd4fc07267a105067db35c0f0ac630e1970f3cd0c7bf552780e985 - 3.73% (29.9 MB)

[#001] sha256:3f487a3359db51ac4dbd797f76b61641328818f50fafc53d2cf760bc63584293 - 0.13% (1.03 MB)

[#002] sha256:cf20d79976745cbcf73f4e1a6cf279d414b3d3b18b54e037860f110560fa1948 - 1.44% (11.5 MB)

[#003] sha256:8fa944797ac7711fc8e9922abb46031945e4bacf2a2cea09e6970d46c0b7f960 - 0.0% (234 Bytes)

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

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

[#006] sha256:163843766945578b4891b9901c862378b1c64fa6d8bdabd61397bb82c226438e - 0.0% (543 Bytes)

[#007] sha256:c5f182c4bc8743a937a94488526fc50656d9c39978d93a21341933096c26b665 - 0.0% (543 Bytes)

[#008] sha256:67c0d71ce844ad90d51836005d40ec3e0706a95121e5bd6853285f856be3cc31 - 0.0% (994 Bytes)

[#009] sha256:5d7393aaa0c9fe824d1c95ec342bd41cd9a8a7d5cc9b8239641e47b7407bea2f - 48.69% (391 MB)

[#010] sha256:29baf8830486c287c55ae7c5cb47e8f1f150086d713c5e9d9b65f793663889a0 - 7.74% (62.1 MB)

[#011] sha256:93123a6b4579f10f6c655f12fb341d42dfb3003224afcaddfd9eb46f27b73f71 - 8.85% (71 MB)

[#012] sha256:f6e11475e66c52857cc25962ade8991938dc58fe016bd85700570bf5f463ad12 - 28.97% (232 MB)

[#013] sha256:dfa130d7da42de8f47d7b071bfaa5b58e99b63cedd1b2cb8ff3362c860733a5b - 0.04% (302 KB)


History
2022-12-21 01:20:32 UTC

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

2022-12-21 01:20:33 UTC

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

2022-12-21 07:44:34 UTC

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

2022-12-21 07:44:34 UTC

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

2022-12-21 07:44:39 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-21 08:13:58 UTC

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

2022-12-21 08:43:22 UTC

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

2022-12-21 08:53:58 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-21 08:53:59 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-21 08:53:59 UTC

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

2022-12-21 08:53:59 UTC

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

2022-12-21 08:53:59 UTC

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

2022-12-21 08:53:59 UTC

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

2022-12-21 08:54:10 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-21 08:54:10 UTC

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

2022-12-21 12:09:44 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

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

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

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

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

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

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/app

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

EXPOSE map[8086/tcp:{}]

2022-12-21 12:09:45 UTC (buildkit.dockerfile.v0)

ENV APP_MODULE=bot:app

2022-12-21 12:10:18 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-21 12:10:18 UTC (buildkit.dockerfile.v0)

COPY /wheel /wheel # buildkit

2022-12-21 12:10:28 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-21 12:10:47 UTC (buildkit.dockerfile.v0)

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

2022-12-21 12:22:52 UTC (buildkit.dockerfile.v0)

COPY . /app/ # buildkit

2022-12-21 12:22:52 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