Namespace
hsuyelin
Image / Tag
nas-tools:3.4.1-debian
Content Digest
sha256:d902c5a5cf6e5e02f1733407d0613619c4535e0bfe7abfe3ca236d1db155ac06
Details
Created

2024-07-18 12:52:09 UTC

Size

592 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-07-18T12:50:02.024Z
  • org.opencontainers.image.description
    NAS媒体库管理工具
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    3f13575456358490deb4502c8e7b8d070c1a92d9
  • org.opencontainers.image.source
    https://github.com/hsuyelin/nas-tools
  • org.opencontainers.image.title
    nas-tools
  • org.opencontainers.image.url
    https://github.com/hsuyelin/nas-tools
  • org.opencontainers.image.version
    3.4.1-debian

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

HOME

/nt

LANG

C.UTF-8

NASTOOL_AUTO_UPDATE

false

NASTOOL_CN_UPDATE

true

NASTOOL_CONFIG

/config/config.yaml

NASTOOL_VERSION

master

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium:/command

PGID

0

PUID

0

PYPI_MIRROR

https://pypi.tuna.tsinghua.edu.cn/simple

PYTHONWARNINGS

ignore:semaphore_tracker:UserWarning

PYTHON_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

REPO_URL

https://github.com/hsuyelin/nas-tools.git

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_KILL_GRACETIME

60000

S6_SERVICES_GRACETIME

30000

S6_SYNC_DISKS

1

TERM

xterm

TZ

Asia/Shanghai

UMASK

000

WORKDIR

/nas-tools


Layers

[#000] sha256:f03b40093957615593f2ed142961afb6b540507e0b47e3f7626ba5e02efbbbf1 - 5.06% (29.9 MB)

[#001] sha256:05c2151a829c7c573d1d540463c8928df99235dca88fba7ae468657f3a0dda73 - 0.17% (1.03 MB)

[#002] sha256:94970648c551e670b333e7622ae39088f0d1d365c59a18ea40666d0a75d13a53 - 1.86% (11 MB)

[#003] sha256:cf2e0f30894fffd895f2e7a379c9062bc109e99fd015273b1b805329ca366029 - 0.0% (243 Bytes)

[#004] sha256:661be8ca6397d70bda71ffb50ca0278a4121e9276a279b922c929391ab1eeb8d - 0.54% (3.22 MB)

[#005] sha256:0e7f9d14884900777575bfc6434c076c5c85cc2205baa996b823d667fc9cb39f - 0.38% (2.23 MB)

[#006] sha256:8cc54533b5b93b8ea2da2935e23baad74e7a1657ea888e83a9fda5c7ea18b12d - 89.3% (529 MB)

[#007] sha256:24ada854718df139fde810f91ad47053c6653215a51e84611034729e950bc6d0 - 0.0% (99 Bytes)

[#008] sha256:2caa6e2435f679e7073af5922a8f5f8d32a7d1a8f8c4d6177db4a1e28ae67f60 - 2.7% (16 MB)

[#009] sha256:cc2fd86a9c8c534fb03a194257110f635c999ad97b008d8886c8695e2b0d00b1 - 0.0% (2.92 KB)


History
2023-05-23 01:20:14 UTC

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

2023-05-23 01:20:14 UTC

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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-23 01:20:14 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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-23 01:20:14 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 '/=>/ { 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 # buildkit

2023-05-23 01:20:14 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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-23 01:20:14 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

2023-05-23 01:20:14 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-07-18 12:50:11 UTC (buildkit.dockerfile.v0)

COPY / / # buildkit

2024-07-18 12:52:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe && export DEBIAN_FRONTEND="noninteractive" && apt-get update -y && apt-get install -y wget bash && apt-get install -y $(echo $(wget --no-check-certificate -qO- https://raw.githubusercontent.com/hsuyelin/nas-tools/master/package_list_debian.txt)) && ln -sf /command/with-contenv /usr/bin/with-contenv && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && echo "${TZ}" > /etc/timezone && locale-gen zh_CN.UTF-8 && ln -sf /usr/bin/chromedriver /usr/lib/chromium/chromedriver && update-alternatives --install /usr/bin/python python /usr/local/bin/python3.10 3 && update-alternatives --install /usr/bin/python python /usr/bin/python3.9 2 && update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.10 3 && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 && curl https://rclone.org/install.sh | bash && if [ "$(uname -m)" = "x86_64" ]; then ARCH=amd64; elif [ "$(uname -m)" = "aarch64" ]; then ARCH=arm64; fi && curl https://dl.min.io/client/mc/release/linux-${ARCH}/mc --create-dirs -o /usr/bin/mc && chmod +x /usr/bin/mc && apt-get install -y build-essential && pip install --upgrade pip setuptools wheel && pip install cython && pip install -r https://raw.githubusercontent.com/hsuyelin/nas-tools/master/requirements.txt && apt-get remove -y build-essential && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /root/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit

2024-07-18 12:52:08 UTC (buildkit.dockerfile.v0)

ENV S6_SERVICES_GRACETIME=30000 S6_KILL_GRACETIME=60000 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_SYNC_DISKS=1 HOME=/nt TERM=xterm PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium:/command TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools

2024-07-18 12:52:08 UTC (buildkit.dockerfile.v0)

WORKDIR /nas-tools

2024-07-18 12:52:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe && mkdir ${HOME} && groupadd -r nt -g 911 && useradd -r nt -g nt -d ${HOME} -s /bin/bash -u 911 && python_ver=$(python3 -V | awk '{print $2}') && echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/nas-tools.pth && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf && echo "nt ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && git config --global pull.ff only && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule && git config --global --add safe.directory ${WORKDIR} # buildkit

2024-07-18 12:52:09 UTC (buildkit.dockerfile.v0)

COPY --chmod=755 ./rootfs / # buildkit

2024-07-18 12:52:09 UTC (buildkit.dockerfile.v0)

EXPOSE map[3000/tcp:{}]

2024-07-18 12:52:09 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2024-07-18 12:52:09 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

Details
Created

2024-07-18 13:02:56 UTC

Size

561 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-07-18T12:50:02.024Z
  • org.opencontainers.image.description
    NAS媒体库管理工具
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    3f13575456358490deb4502c8e7b8d070c1a92d9
  • org.opencontainers.image.source
    https://github.com/hsuyelin/nas-tools
  • org.opencontainers.image.title
    nas-tools
  • org.opencontainers.image.url
    https://github.com/hsuyelin/nas-tools
  • org.opencontainers.image.version
    3.4.1-debian

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

HOME

/nt

LANG

C.UTF-8

NASTOOL_AUTO_UPDATE

false

NASTOOL_CN_UPDATE

true

NASTOOL_CONFIG

/config/config.yaml

NASTOOL_VERSION

master

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium:/command

PGID

0

PUID

0

PYPI_MIRROR

https://pypi.tuna.tsinghua.edu.cn/simple

PYTHONWARNINGS

ignore:semaphore_tracker:UserWarning

PYTHON_GET_PIP_SHA256

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.11

REPO_URL

https://github.com/hsuyelin/nas-tools.git

S6_CMD_WAIT_FOR_SERVICES_MAXTIME

0

S6_KILL_GRACETIME

60000

S6_SERVICES_GRACETIME

30000

S6_SYNC_DISKS

1

TERM

xterm

TZ

Asia/Shanghai

UMASK

000

WORKDIR

/nas-tools


Layers

[#000] sha256:d981f2c20c93e1c57a46cd87bc5b9a554be5323072a0d0ab4b354aabd237bbcf - 5.11% (28.7 MB)

[#001] sha256:1cf577bcf494786a26d3775b1391886625ebb198fec15f51d00f89876e606094 - 0.18% (1.02 MB)

[#002] sha256:7d227b6d918253af81c2ce70c7988a29dfe0901caa0372efd779b33cb2df2e74 - 1.98% (11.1 MB)

[#003] sha256:4433e51b3e1e563e9e119b422c4c72ad6cce87aa48c30fb09951e962a6afc422 - 0.0% (245 Bytes)

[#004] sha256:934009ab126a12a7e3d92bfbea72e5b2285b73f0c86d0cac97838dc5f36521d0 - 0.57% (3.22 MB)

[#005] sha256:8445a837e3a9312158fcc9259263cef4a3d149b87da26048b3c3aa4831467e34 - 0.48% (2.71 MB)

[#006] sha256:cf537fa6ecebab61c8f07f866edd8db3e9eaddf6e7377b7cb67e96767542dc88 - 88.83% (498 MB)

[#007] sha256:20b2844a29c54a5346abc66d5e1c1a3d50078d72a223c4f158fb98219227aebd - 0.0% (97 Bytes)

[#008] sha256:850848b92806c8925fe9d378cf245be407d9f9db8625242a426f4782d3758efa - 2.85% (16 MB)

[#009] sha256:cc2fd86a9c8c534fb03a194257110f635c999ad97b008d8886c8695e2b0d00b1 - 0.0% (2.92 KB)


History
2023-05-23 00:43:15 UTC

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

2023-05-23 00:43:15 UTC

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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-23 00:43:15 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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-23 00:43:15 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 '/=>/ { 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 # buildkit

2023-05-23 00:43:15 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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-23 00:43:15 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

2023-05-23 00:43:15 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-07-18 12:50:11 UTC (buildkit.dockerfile.v0)

COPY / / # buildkit

2024-07-18 13:02:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe && export DEBIAN_FRONTEND="noninteractive" && apt-get update -y && apt-get install -y wget bash && apt-get install -y $(echo $(wget --no-check-certificate -qO- https://raw.githubusercontent.com/hsuyelin/nas-tools/master/package_list_debian.txt)) && ln -sf /command/with-contenv /usr/bin/with-contenv && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && echo "${TZ}" > /etc/timezone && locale-gen zh_CN.UTF-8 && ln -sf /usr/bin/chromedriver /usr/lib/chromium/chromedriver && update-alternatives --install /usr/bin/python python /usr/local/bin/python3.10 3 && update-alternatives --install /usr/bin/python python /usr/bin/python3.9 2 && update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.10 3 && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 && curl https://rclone.org/install.sh | bash && if [ "$(uname -m)" = "x86_64" ]; then ARCH=amd64; elif [ "$(uname -m)" = "aarch64" ]; then ARCH=arm64; fi && curl https://dl.min.io/client/mc/release/linux-${ARCH}/mc --create-dirs -o /usr/bin/mc && chmod +x /usr/bin/mc && apt-get install -y build-essential && pip install --upgrade pip setuptools wheel && pip install cython && pip install -r https://raw.githubusercontent.com/hsuyelin/nas-tools/master/requirements.txt && apt-get remove -y build-essential && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /root/.cache /var/lib/apt/lists/* /var/tmp/* # buildkit

2024-07-18 13:02:53 UTC (buildkit.dockerfile.v0)

ENV S6_SERVICES_GRACETIME=30000 S6_KILL_GRACETIME=60000 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_SYNC_DISKS=1 HOME=/nt TERM=xterm PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium:/command TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools

2024-07-18 13:02:53 UTC (buildkit.dockerfile.v0)

WORKDIR /nas-tools

2024-07-18 13:02:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -xe && mkdir ${HOME} && groupadd -r nt -g 911 && useradd -r nt -g nt -d ${HOME} -s /bin/bash -u 911 && python_ver=$(python3 -V | awk '{print $2}') && echo "${WORKDIR}/" > /usr/local/lib/python${python_ver%.*}/site-packages/nas-tools.pth && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf && echo "nt ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && git config --global pull.ff only && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule && git config --global --add safe.directory ${WORKDIR} # buildkit

2024-07-18 13:02:56 UTC (buildkit.dockerfile.v0)

COPY --chmod=755 ./rootfs / # buildkit

2024-07-18 13:02:56 UTC (buildkit.dockerfile.v0)

EXPOSE map[3000/tcp:{}]

2024-07-18 13:02:56 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2024-07-18 13:02:56 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

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