2021-08-01 21:21:49 UTC
43.7 MB
/etc/clash
CLASH_CTL_ADDR0.0.0.0:9091
CLASH_SECRET CLASH_UI/etc/clash/yacd
CURL_VERSION7.77.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.2933
[#000] sha256:cf9844a87916d9a5a3276a117990820799f634433d54b2fb42eb8f1cfe8b02be - 66.81% (29.2 MB)
[#001] sha256:d15f4fa996c9fb31ebe67d134a9f4737a7ac6f4624a3a1078109106e2fb99aa2 - 0.0% (930 Bytes)
[#002] sha256:4f3d4ffce09dbab1259348932d1b861935b3bd3cbad40ca2a158a24a49ff1e3a - 0.0% (203 Bytes)
[#003] sha256:0de522afa3f1a97a4fa2fd09ea39bccb56c82f01f950d6ceb11c45ec3812d885 - 0.01% (2.32 KB)
[#004] sha256:8266f58aba15599668341ef4034e0ecfc168efec6057fe999bbf0b635dad4f58 - 19.04% (8.33 MB)
[#005] sha256:e94a209ceccae7db26fe338f15a6947e213f95b1c7dca09d1a6608763dfc9dad - 9.73% (4.25 MB)
[#006] sha256:3f92e7138492f3ab6ceb4441b04b17ca4ace3ee6b9863d779c95a4f5f0fae82e - 4.42% (1.93 MB)
[#007] sha256:5c6122184c6aaf0e27dabbe4b5805bb31b47a615722d9b26265be381783ae84b - 0.0% (277 Bytes)
/bin/sh -c #(nop) ADD file:d6b6ba642344138dc401cd05c31eb2c55db70b91adba5f1bf9c4957a1f3caa64 in /
2021-05-26 00:28:23 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
2021-05-26 00:28:24 UTC/bin/sh -c [ -z "$(apt-get indextargets)" ]
2021-05-26 00:28:25 UTC/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
2021-05-26 00:28:26 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-06-04 16:14:42 UTC (FROM docker.io/library/ubuntu:hirsute-20210522)/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014
2021-06-04 16:14:42 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 VCS_REF=093349b
2021-06-04 16:14:42 UTC/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"
2021-06-04 16:14:42 UTC/bin/sh -c #(nop) ENV TZ="Asia/Shanghai" TERM="xterm-256color" UMASK_SET=022 PUID=1000 PGID=100
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) COPY dir:3eb1a47dd7426ab1db8813c60e8a8be7a4465ecc87ea4db5df16c21ae1be976a in /
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 S6_ARCH=amd64 VCS_REF=093349b
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 S6_ARCH=amd64 TINI_ARCH=amd64 VCS_REF=093349b
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 S6_ARCH=amd64 TINI_ARCH=amd64 TINI_VERSION=v0.19.0 VCS_REF=093349b
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 CURL_VERSION=7.77.0 S6_ARCH=amd64 TINI_ARCH=amd64 TINI_VERSION=v0.19.0 VCS_REF=093349b
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ARG BUILD_DATE=20210605-0014 CURL_VERSION=7.77.0 S6_ARCH=amd64 TINI_ARCH=amd64 TINI_VERSION=v0.19.0 VCS_REF=093349b VIM_VERSION=8.2.2933
2021-06-04 16:14:43 UTC/bin/sh -c #(nop) ENV TINI_VERSION=${TINI_VERSION} CURL_VERSION=${CURL_VERSION} VIM_VERSION=${VIM_VERSION}
2021-06-04 16:16:28 UTC|7 BUILD_DATE=20210605-0014 CURL_VERSION=7.77.0 S6_ARCH=amd64 TINI_ARCH=amd64 TINI_VERSION=v0.19.0 VCS_REF=093349b VIM_VERSION=8.2.2933 /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.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list; [ "${TINI_ARCH}" = "amd64" ] && sed -i 's|http://security.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list; [ "${TINI_ARCH}" = "arm64" ] && sed -i.bak 's|http://ports.ubuntu.com|https://mirrors.tuna.tsinghua.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}; ./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
2021-06-04 16:16:28 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini", "--"]
2021-06-04 16:16:28 UTC/bin/sh -c #(nop) CMD ["/entrypoint.sh"]
2021-08-01 21:21:38 UTC (FROM docker.io/80x86/base-ubuntu:hirsute-20210522-amd64)/bin/sh -c #(nop) ARG CLASH_VERSION=v1.6.5
2021-08-01 21:21:39 UTC/bin/sh -c #(nop) ARG CLASH_VERSION=v1.6.5 YACD_VERSION=v0.3.3
2021-08-01 21:21:43 UTC|2 CLASH_VERSION=v1.6.5 YACD_VERSION=v0.3.3 /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-08-01 21:21:44 UTC/bin/sh -c #(nop) COPY file:1c9eeeab0a1c9752088a3688ce4c0e7832aaa7640e0dadd783b52547fb83c2f9 in /etc/clash/Country.mmdb
2021-08-01 21:21:46 UTC/bin/sh -c #(nop) COPY file:9d78839090455bfb774832e598806cd3d6607ee93fbb6fbe6dd2093a7bbbb5d2 in /
2021-08-01 21:21:46 UTC/bin/sh -c #(nop) WORKDIR /
2021-08-01 21:21:47 UTC/bin/sh -c #(nop) EXPOSE 7890 7891 7892 5354
2021-08-01 21:21:48 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-08-01 21:21:48 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini", "--"]
2021-08-01 21:21:49 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.