Namespace
estrellaxd
Image / Tag
auto_bangumi:dev-ad1d431549ab6b107e629f118d0c1259bab36a4e
Content Digest
sha256:3b3aee040e75fd07d67b483d09773b39790983d28959e2b0fc3752b8f79fc826
Details
Created

2023-03-15 04:53:01 UTC

Size

43.3 MB

Content Digest
Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

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

PGID

1000

PUID

1000

PYTHON_GET_PIP_SHA256

394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.3.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.2

TZ

Asia/Shanghai

UMASK

022


Layers

[#000] sha256:63b65145d645c1250c391b2d16ebe53b3747c295ca8ba2fcb6b0cf064a4dc21c - 7.44% (3.22 MB)

[#001] sha256:781eddb6f34207e2b80d9ac0c81f1edde119e3ed0628aa9d4eeb6f8c01669b14 - 1.37% (608 KB)

[#002] sha256:0b05af06b5194af09bda2ee287f02f887ab50cb3d3434a7d20f67f1af345bfed - 27.49% (11.9 MB)

[#003] sha256:21c32060d5e22e4292410288a34314f9ab518a5df218e906f3387e7f5690eb2c - 0.0% (230 Bytes)

[#004] sha256:8ced40fb1e4201d32de2f1b782b4becf1a5ec8a75406514af9e9898d6f551b68 - 6.74% (2.91 MB)

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

[#006] sha256:24d5d04fa4ea6fbe4111208ff737ac00d827d75a125fa62f92590cb6b0e36472 - 0.0% (288 Bytes)

[#007] sha256:e10edb25201577e5d88103778a0a57b96deeaf156ad4ef0a32dbbd7809c26619 - 51.48% (22.3 MB)

[#008] sha256:cf528d804523adb5e479762f8e7d46bade46085de6ee9c75560661a149d3f569 - 0.04% (17.8 KB)

[#009] sha256:5e5194d3680acbf2e43cd91f2daf0fdd0774834dfe370f0800a229a313340cbb - 4.58% (1.98 MB)

[#010] sha256:d831845e5f6d15ea73dcaa47376f605baac94899c89889081778eadda1f053b2 - 0.86% (383 KB)

[#011] sha256:b2176d8c82351371124b00c596584343b839447cf513b8925f8006c8ec7d7806 - 0.0% (1.27 KB)


History
2023-02-11 04:46:42 UTC

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

2023-02-11 04:46:42 UTC

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

2023-02-11 08:38:49 UTC

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

2023-02-11 11:25:57 UTC

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

2023-02-11 11:25:58 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ;

2023-02-11 11:54:52 UTC

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

2023-02-11 11:54:53 UTC

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

2023-03-14 02:17:50 UTC

/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-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)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version

2023-03-14 02:17:51 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-14 02:17:51 UTC

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

2023-03-14 02:17:51 UTC

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

2023-03-14 02:17:51 UTC

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

2023-03-14 02:17:51 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637

2023-03-14 02:17:58 UTC

/bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 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-14 02:17:58 UTC

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

2023-03-15 04:52:49 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai PUID=1000 PGID=1000 UMASK=022

2023-03-15 04:52:49 UTC (buildkit.dockerfile.v0)

WORKDIR /app

2023-03-15 04:52:49 UTC (buildkit.dockerfile.v0)

COPY src/requirements.txt . # buildkit

2023-03-15 04:52:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python3 -m pip install --upgrade pip && pip install -r requirements.txt --no-cache-dir # buildkit

2023-03-15 04:52:59 UTC (buildkit.dockerfile.v0)

COPY src/. /app/. # buildkit

2023-03-15 04:53:00 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache curl shadow su-exec bash # buildkit

2023-03-15 04:53:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c wget "https://github.com/Rewrite0/Auto_Bangumi_WebUI/releases/download/$(curl 'https://api.github.com/repos/Rewrite0/Auto_Bangumi_WebUI/releases/latest' | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g')/dist.zip" && unzip dist.zip && mv dist templates # buildkit

2023-03-15 04:53:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c addgroup -S auto_bangumi -g 1000 && adduser -S auto_bangumi -G auto_bangumi -h /home/auto_bangumi -u 1000 && usermod -s /bin/bash auto_bangumi && mkdir -p "config" && mkdir -p "data" && chmod a+x run.sh # buildkit

2023-03-15 04:53:01 UTC (buildkit.dockerfile.v0)

EXPOSE map[7892/tcp:{}]

2023-03-15 04:53:01 UTC (buildkit.dockerfile.v0)

VOLUME [/app/config /app/data]

2023-03-15 04:53:01 UTC (buildkit.dockerfile.v0)

CMD ["sh" "run.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