Namespace
nonebot
Image / Tag
nb-cli:1-py3.10-slim
Content Digest
sha256:d20f4d863bafcb76d97c5363903ad18109727e3db6044732b1aadba5ebca18e3
Details
Created

2025-05-25 00:07:24 UTC

Size

59.3 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2025-05-25T00:06:58.035Z
  • org.opencontainers.image.description
    NoneBot2 脚手架 / CLI for NoneBot2
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    5857e45f69a2665450a259e6bea4cf52c0b513c5
  • org.opencontainers.image.source
    https://github.com/nonebot/nb-cli
  • org.opencontainers.image.title
    nb-cli
  • org.opencontainers.image.url
    https://github.com/nonebot/nb-cli
  • org.opencontainers.image.version
    nightly

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

PYTHONPATH

/opt/nb-cli/pkgs

PYTHON_SHA256

4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

PYTHON_VERSION

3.10.17


Layers

[#000] sha256:61320b01ae5e0798393ef25f2dc72faf43703e60ba089b07d7170acbabbf8f62 - 45.4% (26.9 MB)

[#001] sha256:f7abc9c3447359394271ff08c7c7b2d1e8a2784e89ab6569c29a52fd3146b1bd - 5.65% (3.35 MB)

[#002] sha256:40f0d24c02c50c9998c5a787d31da473efa70203113bd290c8fe6ae938aae0b4 - 25.17% (14.9 MB)

[#003] sha256:58f8b341ff7da33d57749996706af974e0860377f6e63fda5ea2339140907849 - 0.0% (249 Bytes)

[#004] sha256:52e08ac672d6c6def6cf4dccd6654eb98cb2be06ece86e4367db641efce1e45d - 23.78% (14.1 MB)

[#005] sha256:ff1dfe0bf382cc22ce07d16177096b6527aff60e9946dbbf68333bfeded100b7 - 0.0% (727 Bytes)

[#006] sha256:3e6aef16517f1d12afb6fd2f9351b34b6b79ec1f5a8e0694cdf76434d8c79055 - 0.0% (100 Bytes)


History
2025-05-08 22:27:23 UTC (debuerreotype 0.15)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1747699200'

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.17

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-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"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' 'wheel<0.46' ; pip3 --version # buildkit

2025-05-08 22:27:23 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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

ARG PYTHON_IMAGE=3.10

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/opt/nb-cli/pkgs

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

COPY /project/__pypackages__/3.10/lib /opt/nb-cli/pkgs # buildkit

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

COPY /project/__pypackages__/3.10/bin/* /bin/ # buildkit

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

WORKDIR /workspaces

2025-05-25 00:07:24 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["nb"]

Details
Created

2025-05-25 00:10:40 UTC

Size

58.6 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2025-05-25T00:06:55.327Z
  • org.opencontainers.image.description
    NoneBot2 脚手架 / CLI for NoneBot2
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    5857e45f69a2665450a259e6bea4cf52c0b513c5
  • org.opencontainers.image.source
    https://github.com/nonebot/nb-cli
  • org.opencontainers.image.title
    nb-cli
  • org.opencontainers.image.url
    https://github.com/nonebot/nb-cli
  • org.opencontainers.image.version
    nightly

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

PYTHONPATH

/opt/nb-cli/pkgs

PYTHON_SHA256

4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

PYTHON_VERSION

3.10.17


Layers

[#000] sha256:b16f1b16678093d11ecfece1004207a40f9bc1b7d9d1d16a070c1db552038818 - 45.64% (26.8 MB)

[#001] sha256:8a45c7e905d6f25747fdf1b9286ccaf78e53af421e86800be363fac2c5e17386 - 5.42% (3.18 MB)

[#002] sha256:3937e61e7b960be410c9643954b0f8d2b1c2a9f055c59e88e70154c6cdc8f401 - 25.33% (14.9 MB)

[#003] sha256:d0ac4bafb0af2562197fc84adfdcf99c11c69f5bd72f4dbda1945d8de0bf7b5a - 0.0% (248 Bytes)

[#004] sha256:2cb2f560555fc0a497682bc7ef1c1853f31a08192b1dc7c9a34fb70b4f6bed47 - 23.61% (13.8 MB)

[#005] sha256:e04f0b2a0073be8a25baa230e9e9ab303f4cdcef7d156fbbc8c1ea4d979a198a - 0.0% (744 Bytes)

[#006] sha256:b6011b5c29aa1b5f32675811824a1f9eb24ff11d4e31b8d2e5bbd6b95326cbe4 - 0.0% (96 Bytes)


History
2025-05-08 22:27:23 UTC (debuerreotype 0.15)

# debian.sh --arch 'arm64' out/ 'bookworm' '@1747699200'

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.17

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-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"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 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 '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | 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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==65.5.1' 'wheel<0.46' ; pip3 --version # buildkit

2025-05-08 22:27:23 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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

ARG PYTHON_IMAGE=3.10

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/opt/nb-cli/pkgs

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

COPY /project/__pypackages__/3.10/lib /opt/nb-cli/pkgs # buildkit

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

COPY /project/__pypackages__/3.10/bin/* /bin/ # buildkit

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

WORKDIR /workspaces

2025-05-25 00:10:40 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["nb"]

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