2021-03-24 15:45:03 UTC
46.3 MB
/etc/clash
CLASH_CTL_ADDR0.0.0.0:9091
CLASH_SECRET CLASH_UI/etc/clash/yacd
CURL_VERSION7.73.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGID100
PUID1000
TERMxterm-256color
TINI_VERSIONv0.19.0
TZAsia/Shanghai
UMASK_SET022
VIM_VERSION8.2.2049
[#000] sha256:0d2d83c72b6f14a7852c842b1f0542d009a8ea81f4add83eff0df23427ee7637 - 67.75% (31.4 MB)
[#001] sha256:54ceae576c1da8a6895e85b23fcb38e356d433749c500a9f6e1b102e32a001ce - 0.0% (928 Bytes)
[#002] sha256:58a89854ad9c04d23346fa86c5e077e57213d02b0e81b902f3f50c95b4448ba0 - 0.0% (172 Bytes)
[#003] sha256:b5cbdb69eac6d4767d1f31d694f044ffcac21a3b484e214e43886fa2923691c5 - 13.9% (6.44 MB)
[#004] sha256:f7c5bbc90806c96e1fe34ee0be0e9b60212d5c8d2f3d9a7f364625f6b5cb67fe - 14.17% (6.56 MB)
[#005] sha256:0c117fa3d2c13446b78332322316bf3142604d177367b4893a72b6e0344b506d - 4.18% (1.93 MB)
[#006] sha256:5c6122184c6aaf0e27dabbe4b5805bb31b47a615722d9b26265be381783ae84b - 0.0% (277 Bytes)
/bin/sh -c #(nop) ADD file:6099585856c27a9f8dd40d7e679184a6d1bb58133acf73d5d3c9904932def005 in /
2020-10-23 17:32:47 UTC/bin/sh -c set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests
2020-10-23 17:32:47 UTC/bin/sh -c [ -z "$(apt-get indextargets)" ]
2020-10-23 17:32:48 UTC/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
2020-10-23 17:32:48 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG BUILD_DATE="n/a"
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG VCS_REF="n/a"
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.maintainer='HuangYeWuDeng <***@ttys3.net>' org.label-schema.name="80x86/base-ubuntu" org.label-schema.description="ubuntu base image for container" org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-ref=$VCS_REF org.label-schema.url="https://nanodm.net" org.label-schema.vendor="NanoDM"
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ENV TZ="Asia/Shanghai" TERM="xterm-256color" UMASK_SET=022 PUID=1000 PGID=100
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) COPY dir:a7715d7bc568bedf88020004d76613a9ccb54927541b07f6d172c55be2c861c4 in /
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG S6_ARCH=amd64
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG TINI_ARCH=amd64
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG TINI_VERSION=v0.19.0
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG CURL_VERSION=7.73.0
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ARG VIM_VERSION=8.2.1878
2020-11-26 00:56:01 +0800/bin/sh -c #(nop) ENV TINI_VERSION=${TINI_VERSION} CURL_VERSION=${CURL_VERSION} VIM_VERSION=${VIM_VERSION}
2020-11-26 00:58:02 +0800|7 BUILD_DATE=20201126-0055 CURL_VERSION=7.73.0 S6_ARCH=amd64 TINI_ARCH=amd64 TINI_VERSION=v0.19.0 VCS_REF=2f8d8c2 VIM_VERSION=8.2.2049 /bin/sh -c set -eux; echo "current architecture is: $(dpkg --print-architecture)"; ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime; apt-get update && apt-get install -y --no-install-recommends ca-certificates; update-ca-certificates -f; [ "${TINI_ARCH}" = "amd64" ] && sed -i.bak 's|http://archive.ubuntu.com|https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list; [ "${TINI_ARCH}" = "amd64" ] && sed -i 's|http://security.ubuntu.com|https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list; [ "${TINI_ARCH}" = "arm64" ] && sed -i.bak 's|http://ports.ubuntu.com|https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list; apt-get update; { echo "alias l='ls -CF'"; echo "alias la='ls -A'"; echo "alias ll='ls -alhp'"; echo "alias ls='ls --color=auto'"; echo 'export EDITOR=vim'; } >> /root/.bashrc; { echo "alias l='ls -CF'"; echo "alias la='ls -A'"; echo "alias ll='ls -alhp'"; echo "alias ls='ls --color=auto'"; echo 'export EDITOR=vim'; } >> /etc/skel/.bashrc; apt-get install -y --no-install-recommends procps ncdu tree iputils-ping iproute2 xz-utils bzip2; apt-get install -y --no-install-recommends wget; apt-get install -y --no-install-recommends gcc g++ make automake autoconf libnghttp2-dev libssl-dev; mkdir /build; wget --progress=bar:force:noscroll -O/build/curl-${CURL_VERSION}.tar.gz https://github.com/curl/curl/releases/download/curl-$(echo ${CURL_VERSION} | tr . _)/curl-${CURL_VERSION}.tar.gz; tar xzf /build/curl-${CURL_VERSION}.tar.gz -C/build; cd /build/curl-${CURL_VERSION}; wget -O./lib/vtls/openssl.c https://raw.githubusercontent.com/curl/curl/a3d5b199f96a108f38bd1f6adaf3a7585f721d02/lib/vtls/openssl.c; ./configure CFLAGS='-Os -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fno-unwind-tables -fno-asynchronous-unwind-tables -flto' LDFLAGS='-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections' --prefix= --enable-shared=no --enable-static=yes --with-nghttp2 --enable-http --enable-ftp --enable-cookies --with-ssl --disable-libcurl-option --disable-ares --disable-crypto-auth --disable-tls-srp --disable-versioned-symbols --enable-hidden-symbols --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-unix-sockets --without-librtmp --without-libidn --without-libssh2 --without-zsh-functions-dir --disable-dependency-tracking; make -j $((`nproc --all`+1)); cp -v ./src/curl /usr/local/bin/; cd /; rm -rf /build; apt-get remove -y wget; apt-get remove -y gcc g++ make automake autoconf libnghttp2-dev libssl-dev; apt-get install -y --no-install-recommends libnghttp2-14 libssl1.1; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt autoremove -y; rm -rf /var/lib/apt/lists/*; /usr/local/bin/curl --version; apt-get update && apt-get install -y --no-install-recommends gcc g++ make automake autoconf libncurses-dev; mkdir -p /build/usr/local; /usr/local/bin/curl -LZo/build/v${VIM_VERSION}.tar.gz https://github.com/vim/vim/archive/v${VIM_VERSION}.tar.gz; tar xzf /build/v${VIM_VERSION}.tar.gz -C/build; cd /build/vim-${VIM_VERSION}; echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h; ./configure CFLAGS='-Os -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fno-unwind-tables -fno-asynchronous-unwind-tables -flto' LDFLAGS='-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections' --prefix=/usr/local --with-features=normal --disable-gui --disable-gtktest --disable-darwin --disable-smack --disable-selinux --disable-xsmp --disable-xsmp-interact --disable-netbeans --disable-channel --disable-rightleft --disable-arabic --disable-icon-cache-update --disable-desktop-database-update --disable-canberra --disable-gpm --disable-sysmouse --disable-nls --disable-xim --without-x --disable-cscope --disable-acl --with-tlib=ncurses --with-compiledby="HuangYeWuDeng@ttys3.net"; make -j $((`nproc --all`+1)); make install DESTDIR=/build; cp -ra /build/usr/local/bin /usr/local/; cp -ra /build/usr/local/share/vim /usr/local/share; rm -rf /usr/local/share/vim/vim82/tutor; rm -rf /usr/local/share/vim/vim82/doc; rm -rf /usr/local/share/vim/vim82/spell; rm -rf /usr/local/share/vim/vim82/print; curl -LZo/usr/local/share/vim/vim82/colors/gruvbox8_soft.vim https://github.com/lifepillar/vim-gruvbox8/raw/master/colors/gruvbox8_soft.vim; ls -lh /usr/local/share/vim/vim82/colors/gruvbox8_soft.vim; cd /; rm -rf /build; apt-get remove -y gcc g++ make automake autoconf libncurses-dev; dpkg -l | awk '{ print $2 }' | grep '\-dev$' | xargs apt-get remove -y; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt autoremove -y; rm -rf /var/lib/apt/lists/*; /usr/local/bin/vim --version; ln -sf /usr/local/bin/vim /usr/local/bin/vi; cd / && curl -LZO https://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/c/cronie/cronie_1.5.5-3_${TINI_ARCH}.deb; cd / && dpkg --fsys-tarfile cronie_1.5.5-3_${TINI_ARCH}.deb | tar xk; rm -f cronie_1.5.5-3_${TINI_ARCH}.deb; sed -E -i 's@session\s+required\s+pam_loginuid.so@# session required pam_loginuid.so@' /etc/pam.d/cronie; touch /var/spool/cron/crontabs/root; { echo '# crontab configuration'; echo '# wiki: https://en.wikipedia.org/wiki/Cron'; echo '# tool: https://crontab.guru/'; echo '# '; echo '# ┌───────────── minute (0 - 59)'; echo '# │ ┌───────────── hour (0 - 23)'; echo '# │ │ ┌───────────── day of month (1 - 31)'; echo '# │ │ │ ┌───────────── month (1 - 12)'; echo '# │ │ │ │ ┌───────────── day of week (0 - 6) (Sunday to Saturday)'; echo '# │ │ │ │ │ '; echo '# * * * * * command to execute'; } > /var/spool/cron/crontabs/root; rm -f /etc/init.d/*; rm -rf /lib/systemd; rm -rf /usr/share/doc/*; find /usr/share/man/ -type f | xargs rm -f; rm -rf /usr/share/zoneinfo/right; rm -f /var/cache/debconf/templates.dat-old; truncate -s 0 /var/log/lastlog; useradd -u $PUID -U -s /bin/false -m -d /home/app -c "app user" app; ln -s /opt/common.sh /entrypoint.sh; curl -LZo/tmp/s6.tar.gz https://github.com/just-containers/skaware/releases/download/v2.0.2/s6-2.9.2.0-linux-${S6_ARCH}-bin.tar.gz; tar xkzf /tmp/s6.tar.gz -C /; rm -rf /tmp/s6.tar.gz; ls -lhp /bin/sh; curl -LZo/tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TINI_ARCH}; chmod +x /tini; /tini --version
2020-11-26 00:58:02 +0800/bin/sh -c #(nop) ENTRYPOINT ["/tini", "--"]
2020-11-25 16:58:03 UTC/bin/sh -c #(nop) CMD ["/entrypoint.sh"]
2021-03-24 15:44:51 UTC/bin/sh -c #(nop) ARG CLASH_VERSION=v1.4.2
2021-03-24 15:44:51 UTC/bin/sh -c #(nop) ARG CLASH_VERSION=v1.4.2 YACD_VERSION=v0.2.15
2021-03-24 15:45:01 UTC|2 CLASH_VERSION=v1.4.2 YACD_VERSION=v0.2.15 /bin/sh -c set -eux; env HTTPS_PROXY=http://192.168.8.100:7890 curl -LZO https://github.com/Dreamacro/clash/releases/download/${CLASH_VERSION}/clash-linux-amd64-${CLASH_VERSION}.gz; gunzip clash-linux-amd64-${CLASH_VERSION}.gz; mv clash-linux-amd64-${CLASH_VERSION} /usr/local/bin/clash; chmod a+rx /usr/local/bin/clash; env HTTPS_PROXY=http://192.168.8.100:7890 curl -LZO https://github.com/haishanh/yacd/releases/download/${YACD_VERSION}/yacd.tar.xz; tar -xJf yacd.tar.xz; mkdir /etc/clash; chmod a+rwx /etc/clash; mv public /etc/clash/yacd
2021-03-24 15:45:02 UTC/bin/sh -c #(nop) COPY file:1c9eeeab0a1c9752088a3688ce4c0e7832aaa7640e0dadd783b52547fb83c2f9 in /etc/clash/Country.mmdb
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) COPY file:9d78839090455bfb774832e598806cd3d6607ee93fbb6fbe6dd2093a7bbbb5d2 in /
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) WORKDIR /
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) EXPOSE 7890 7891 7892 5354
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) ENV CLASH_CTL_ADDR="0.0.0.0:9091" CLASH_CFG_DIR="/etc/clash" CLASH_UI="/etc/clash/yacd" CLASH_SECRET=""
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini", "--"]
2021-03-24 15:45:03 UTC/bin/sh -c #(nop) CMD ["/entrypoint.sh"]
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.