Namespace
hsuyelin
Image / Tag
nas-tools:3.3.15
Content Digest
sha256:03f5d761809ea495e607a7d5703253fb745eb6f294328f4e73b5ebb2d5e09edd
Details
Created

2024-03-13 10:12:32 UTC

Size

405 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-03-13T10:11:01.429Z
  • org.opencontainers.image.description
    NAS媒体库管理工具
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    3fbde6a597528f78d11a7d412f96f38d1ca639a8
  • 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.3.15

Environment
ALPINE_MIRROR

mirrors.ustc.edu.cn

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

PGID

0

PS1

\u@\h:\w $

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:8a49fdb3b6a5ff2bd8ec6a86c05b2922a0f7454579ecc07637e94dfd1d0639b6 - 0.8% (3.24 MB)

[#001] sha256:0357922e53aa8671e175f58d46bfd245908047b81e66370f634863785fe0c70e - 0.15% (608 KB)

[#002] sha256:4cc8bc611b9b4704779bd8f98daaef8d590778fb6624906b2374271b9c5cad7f - 2.83% (11.5 MB)

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

[#004] sha256:e98a36fef90a808502851638303ecdf3458de36c265420ab272d340b9ab4219e - 0.72% (2.94 MB)

[#005] sha256:91464572fdcb7001714837dac28f714a59ba4590527c4c86f4e39e4445179f7e - 91.57% (371 MB)

[#006] sha256:efed044e7c7caafffdd4abdd60104a8e7dc5a419c90540a8334dc2d9b1722854 - 0.0% (99 Bytes)

[#007] sha256:99aaba8cd3a80ee53e52a9a66334920c259e0209552d6cbe0e7964760528d5b4 - 3.93% (15.9 MB)

[#008] sha256:16cfaff10a080575002530dbc8cc65d32c342da1f675d51103b8cd0b01f93566 - 0.0% (2.92 KB)


History
2023-05-09 23:11:10 UTC

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

2023-05-09 23:11:10 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 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-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-03-13 10:12:31 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache --virtual .build-deps libffi-dev gcc musl-dev libxml2-dev libxslt-dev && apk add --no-cache $(echo $(wget --no-check-certificate -qO- https://raw.githubusercontent.com/hsuyelin/nas-tools/master/package_list.txt)) && 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 && pip install --upgrade pip setuptools wheel && pip install cython && pip install -r https://raw.githubusercontent.com/hsuyelin/nas-tools/master/requirements.txt && apk del --purge .build-deps && rm -rf /tmp/* /root/.cache /var/cache/apk/* # buildkit

2024-03-13 10:12:31 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 LANG=C.UTF-8 TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master PS1=\u@\h:\w $ REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple ALPINE_MIRROR=mirrors.ustc.edu.cn PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools

2024-03-13 10:12:31 UTC (buildkit.dockerfile.v0)

WORKDIR /nas-tools

2024-03-13 10:12:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir ${HOME} && addgroup -S nt -g 911 && adduser -S nt -G nt -h ${HOME} -s /bin/bash -u 911 && python_ver=$(python3 -V | awk '{print $2}') && python_path=$(which python3) && [ -d "/usr/lib/python${python_ver%.*}/site-packages" ] || mkdir -p "/usr/lib/python${python_ver%.*}/site-packages" && echo "${WORKDIR}/" > /usr/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-03-13 10:12:32 UTC (buildkit.dockerfile.v0)

COPY ./rootfs / # buildkit

2024-03-13 10:12:32 UTC (buildkit.dockerfile.v0)

EXPOSE map[3000/tcp:{}]

2024-03-13 10:12:32 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2024-03-13 10:12:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/init"]

Details
Created

2024-03-13 10:20:24 UTC

Size

396 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2024-03-13T10:11:01.429Z
  • org.opencontainers.image.description
    NAS媒体库管理工具
  • org.opencontainers.image.licenses
    AGPL-3.0
  • org.opencontainers.image.revision
    3fbde6a597528f78d11a7d412f96f38d1ca639a8
  • 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.3.15

Environment
ALPINE_MIRROR

mirrors.ustc.edu.cn

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

PGID

0

PS1

\u@\h:\w $

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:08409d4172603f40b56eb6b76240a1e6bd78baa0e96590dc7ff76c5f1a093af2 - 0.81% (3.19 MB)

[#001] sha256:980740d53f9253fd08e2c08238daeae6f782260542ad5084942d7840d4ed7d01 - 0.15% (610 KB)

[#002] sha256:79081e0e69515913d1c500402f61ac8afe0337bc59d2a0e86d82176bcf6b1d4d - 2.92% (11.6 MB)

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

[#004] sha256:33af54fdb1b5508a38b09fc77c017f9a30f98ddcca2c222a4d12cd367c70b726 - 0.74% (2.94 MB)

[#005] sha256:da5f4bcc4ff10cd1f99969e2eed51cc41e8698a029b154932fbfde0c8d4442dd - 91.36% (362 MB)

[#006] sha256:9ee1ec8ffccf59365795b4758d6448467c1477bed01ddf7f12ddb2486ab8cd0d - 0.0% (99 Bytes)

[#007] sha256:6e78e23aeadca578a6a738d3e2e40c488a9baca38226cdaa90b8900146531c68 - 4.02% (15.9 MB)

[#008] sha256:16cfaff10a080575002530dbc8cc65d32c342da1f675d51103b8cd0b01f93566 - 0.0% (2.92 KB)


History
2023-05-09 23:11:08 UTC

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

2023-05-09 23:11:08 UTC

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.11

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 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-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

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

2023-05-10 10:10:11 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-03-13 10:20:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache --virtual .build-deps libffi-dev gcc musl-dev libxml2-dev libxslt-dev && apk add --no-cache $(echo $(wget --no-check-certificate -qO- https://raw.githubusercontent.com/hsuyelin/nas-tools/master/package_list.txt)) && 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 && pip install --upgrade pip setuptools wheel && pip install cython && pip install -r https://raw.githubusercontent.com/hsuyelin/nas-tools/master/requirements.txt && apk del --purge .build-deps && rm -rf /tmp/* /root/.cache /var/cache/apk/* # buildkit

2024-03-13 10:20:21 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 LANG=C.UTF-8 TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master PS1=\u@\h:\w $ REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple ALPINE_MIRROR=mirrors.ustc.edu.cn PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools

2024-03-13 10:20:21 UTC (buildkit.dockerfile.v0)

WORKDIR /nas-tools

2024-03-13 10:20:24 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir ${HOME} && addgroup -S nt -g 911 && adduser -S nt -G nt -h ${HOME} -s /bin/bash -u 911 && python_ver=$(python3 -V | awk '{print $2}') && python_path=$(which python3) && [ -d "/usr/lib/python${python_ver%.*}/site-packages" ] || mkdir -p "/usr/lib/python${python_ver%.*}/site-packages" && echo "${WORKDIR}/" > /usr/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-03-13 10:20:24 UTC (buildkit.dockerfile.v0)

COPY ./rootfs / # buildkit

2024-03-13 10:20:24 UTC (buildkit.dockerfile.v0)

EXPOSE map[3000/tcp:{}]

2024-03-13 10:20:24 UTC (buildkit.dockerfile.v0)

VOLUME [/config]

2024-03-13 10:20:24 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