2022-03-21 06:04:44 UTC
50 MB
/etc/clash
CLASH_CTL_ADDR0.0.0.0:8082
CLASH_SECRET CLASH_UI/etc/clash/yacd
DISTTAGf35container
FGCf35
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SNAT_SUBNET192.168.0.0/16
TINI_VERSIONv0.19.0
USE_MACVLANno
containeroci
[#000] sha256:975bcbe859ce2072c4c38fb228f4686076416bb74b0d902abc609a77cf76eb32 - 70.13% (35.1 MB)
[#001] sha256:0d1fb8fff70161c27f71348ef12700ce6d3377fb20ca681f2c7cab6bf6c5ba19 - 15.33% (7.67 MB)
[#002] sha256:7c72e0066a192a3c7665c655c0f62d48677392b003d0c4da4cd85a42fe3d2a5b - 8.78% (4.39 MB)
[#003] sha256:70a0b2f14d3a5a4e25861061821c3d70514aec1987f96a84ccad87679f7120d2 - 5.76% (2.88 MB)
[#004] sha256:c969ca3bf6d3bc50f7b2f665b5f002cfbf9dfd58eb24490cc9b5de82d6619b9f - 0.0% (397 Bytes)
[#005] sha256:bcffef640e62fea38974330d96e790a649c08a8a376333021f8a6509df204678 - 0.0% (1.1 KB)
/bin/sh -c #(nop) ARG CLASH_VERSION
2022-03-21 06:04:04 UTC/bin/sh -c #(nop) ARG CLASH_VERSION YACD_VERSION
2022-03-21 06:04:04 UTC/bin/sh -c #(nop) ENV TINI_VERSION v0.19.0
2022-03-21 06:04:37 UTC|2 CLASH_VERSION=v1.10.0 YACD_VERSION=v0.3.4 /bin/sh -c set -eux; sed -e 's|^metalink=|#metalink=|g' -e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.sjtug.sjtu.edu.cn/fedora/linux|g' -i.bak /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo; microdnf install procps iproute iptables tar gzip xz -y && microdnf clean all && rm -rf /var/cache/yum
2022-03-21 06:04:42 UTC|2 CLASH_VERSION=v1.10.0 YACD_VERSION=v0.3.4 /bin/sh -c set -eux; curl -LZ https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -o/tini; chmod +x /tini; 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; 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
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) COPY file:37f96a295b2117ea3b5cbcfdf52d4b9786c8463c74941fda47161dee9418f420 in /etc/clash/Country.mmdb
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) COPY file:f2690c301427a1dd090ad158ecc7c7c61d4bcec9308fcbb1f33ea711e770796a in /
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) COPY file:0c207a98f87c3ca7158fd1357fcbf3b0f7c17a343b11035d3802d8cbf4488cd5 in /usr/local/bin/
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) WORKDIR /
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) EXPOSE 7890 7891 7892 5354
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) ENV CLASH_CTL_ADDR="0.0.0.0:8082" CLASH_CFG_DIR="/etc/clash" CLASH_UI="/etc/clash/yacd" CLASH_SECRET="" USE_MACVLAN="no" SNAT_SUBNET="192.168.0.0/16"
2022-03-21 06:04:43 UTC/bin/sh -c #(nop) ENTRYPOINT ["/tini", "--"]
2022-03-21 06:04:44 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.