Namespace
nonebot
Image / Tag
nb-cli:1.3-py3.11-slim
Content Digest
sha256:92044a94d8736a0883e60f453f9111ce803ae9553fdbdea6d13a86dfd532e26e
Details
Created

2024-02-17 09:55:02 UTC

Size

59.8 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-02-25T00:04:40.794Z
  • org.opencontainers.image.description
    NoneBot2 脚手架 / CLI for NoneBot2
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    8df89823180b0796c23ee8d21fc6457ce95ed46e
  • 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_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

24.0

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.8


Layers

[#000] sha256:e1caac4eb9d2ec24aa3618e5992208321a92492aef5fef5eb9e470895f771c56 - 46.42% (27.8 MB)

[#001] sha256:51d1f07906b71fd60ac43c61035514996a8ad8dbfd39d4f570ac5446b064ee5d - 5.59% (3.35 MB)

[#002] sha256:fe87ad6b112e2dfaa9a52f49adf5bb70a80d9af2c737f71a947cb5017a12b148 - 20.51% (12.3 MB)

[#003] sha256:4d8ccb72bbadfe34ab482a41ca4c7c07b97dfa2e523cb6317b4ff5948244765b - 0.0% (244 Bytes)

[#004] sha256:8100581c78ddcf0a8c7cb0eb6b3028d3045eaf4f34d4704ae6c72ed0b3f5714a - 5.44% (3.25 MB)

[#005] sha256:2d1dcf70ca1a137384615e7bb8efef25314954ae66e0f16ddf519037e0a61efa - 22.04% (13.2 MB)

[#006] sha256:1a4f081abb4794ec1996b1f458c4788d0f01d042e654ed704b85429b4cea1799 - 0.0% (721 Bytes)

[#007] sha256:3e0c4f3ce5d3599e0b2f736366f0b61484b7f71973425b1c3d8de4ee988fc984 - 0.0% (100 Bytes)


History
2024-02-13 00:37:22 UTC

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

2024-02-13 00:37:22 UTC

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-02-07 04:49:18 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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.8

2024-02-07 04:49:18 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 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; 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)"; 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:-}" "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 '/=>/ { 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/*; python3 --version # buildkit

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=24.0

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

ARG PYTHON_IMAGE

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/opt/nb-cli/pkgs

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

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

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

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

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

WORKDIR /workspaces

2024-02-17 09:55:02 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["nb"]

Details
Created

2024-02-17 09:57:33 UTC

Size

56.8 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-02-25T00:04:52.612Z
  • org.opencontainers.image.description
    NoneBot2 脚手架 / CLI for NoneBot2
  • org.opencontainers.image.licenses
    MIT
  • org.opencontainers.image.revision
    8df89823180b0796c23ee8d21fc6457ce95ed46e
  • 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_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

24.0

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.8


Layers

[#000] sha256:f546e941f15b76df3d982d56985432b05bc065e3923fb35be25a4d33d5c0f911 - 48.94% (27.8 MB)

[#001] sha256:24935aba99a712c5a6efc86118762b0f914e1577a2c072dbc1fac88d3cfbc37c - 5.58% (3.17 MB)

[#002] sha256:07b3e0dc751aaf60f7e8329edf7332166d9dbfdf7ab0405420d860c46146c881 - 21.55% (12.2 MB)

[#003] sha256:7e0115596a7a4e49d1034304974dbd2a675dfdee9df8da9437f913a614fef819 - 0.0% (244 Bytes)

[#004] sha256:a66610a3b2a1b945b6e139a56387e83f06b835b82feedca0729d2381d0c733fa - 5.73% (3.25 MB)

[#005] sha256:2ae429317ae3737297ea997b2b156b341bbec852d2acaf578dfdb6202fe6f2c3 - 18.2% (10.3 MB)

[#006] sha256:ab49addd1dadc039f6e7ecc9cb10451850cd77862e15350ae62beae8e4771280 - 0.0% (742 Bytes)

[#007] sha256:606bd494e918b7d9882c30d98fae481f56d912568ad975e69ceaa15f92b64b09 - 0.0% (100 Bytes)


History
2024-02-13 00:41:20 UTC

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

2024-02-13 00:41:20 UTC

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-02-07 04:49:18 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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.8

2024-02-07 04:49:18 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 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; 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)"; 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:-}" "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 '/=>/ { 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/*; python3 --version # buildkit

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=24.0

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

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

2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-02-17 09:57:33 UTC (buildkit.dockerfile.v0)

ARG PYTHON_IMAGE

2024-02-17 09:57:33 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/opt/nb-cli/pkgs

2024-02-17 09:57:33 UTC (buildkit.dockerfile.v0)

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

2024-02-17 09:57:33 UTC (buildkit.dockerfile.v0)

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

2024-02-17 09:57:33 UTC (buildkit.dockerfile.v0)

WORKDIR /workspaces

2024-02-17 09:57:33 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