2022-08-08 21:51:35 UTC
182 MB
1.18.2
GOPATH/go
PATH/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:2408cc74d12b6cd092bb8b516ba7d5e290f485d3eb9672efc00f0583730179e8 - 1.47% (2.67 MB)
[#001] sha256:ea60b727a1ce729d031ec1e4f2521a246e71bdb72d3fd9c9c04711cce80e1722 - 0.14% (265 KB)
[#002] sha256:30c4a77219572e69864cd3069b7b47e55202681be151bd7394f9cb6645b5687b - 0.0% (153 Bytes)
[#003] sha256:4a5a11f84e29cd3d2ce69b6184f22d8bf628d80f02fd4188925ca2c1212af98a - 60.32% (110 MB)
[#004] sha256:7f0c29549d1e20199a57c8f3f1030e19789b6e035d5779309f3fec5ac13850ce - 0.0% (156 Bytes)
[#005] sha256:a17d31ec24030530e25adfcee02f561180b85aeb24e5e976ce30537242ae18a9 - 38.08% (69.4 MB)
[#006] sha256:eb62a072ccb7e2021241a1d585273e8c2ef238bc616b83b65ab87944d0ea6a8a - 0.0% (135 Bytes)
[#007] sha256:9ae03ed8ab01fe6bfacf2903c610d0102f46d86c5c322ffb99f13f9f81893275 - 0.0% (1.22 KB)
[#008] sha256:bd418fd51522ba608459cf633a07b5b0538b5b0c5ed8ef45e836cf4df2d216c8 - 0.0% (139 Bytes)
/bin/sh -c #(nop) ADD file:8e81116368669ed3dd361bc898d61bff249f524139a239fdaf3ec46869a39921 in /
2022-05-23 19:19:31 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2022-05-25 00:19:44 UTC/bin/sh -c apk add --no-cache ca-certificates
2022-05-25 00:19:45 UTC/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
2022-05-25 00:19:45 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-05-25 00:19:45 UTC/bin/sh -c #(nop) ENV GOLANG_VERSION=1.18.2
2022-05-25 00:21:20 UTC/bin/sh -c set -eux; apk add --no-cache --virtual .fetch-deps gnupg; arch="$(apk --print-arch)"; url=; case "$arch" in 'x86_64') export GOAMD64='v1' GOARCH='amd64' GOOS='linux'; ;; 'armhf') export GOARCH='arm' GOARM='6' GOOS='linux'; ;; 'armv7') export GOARCH='arm' GOARM='7' GOOS='linux'; ;; 'aarch64') export GOARCH='arm64' GOOS='linux'; ;; 'x86') export GO386='softfloat' GOARCH='386' GOOS='linux'; ;; 'ppc64le') export GOARCH='ppc64le' GOOS='linux'; ;; 's390x') export GOARCH='s390x' GOOS='linux'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; build=; if [ -z "$url" ]; then build=1; url='https://dl.google.com/go/go1.18.2.src.tar.gz'; sha256='2c44d03ea2c34092137ab919ba602f2c261a038d08eb468528a3f3a28e5667e2'; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url"; echo "$sha256 *go.tgz" | sha256sum -c -; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; gpg --batch --verify go.tgz.asc go.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" go.tgz.asc; tar -C /usr/local -xzf go.tgz; rm go.tgz; if [ -n "$build" ]; then apk add --no-cache --virtual .build-deps bash gcc go musl-dev ; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apk del --no-network .build-deps; rm -rf /usr/local/go/pkg/*/cmd /usr/local/go/pkg/bootstrap /usr/local/go/pkg/obj /usr/local/go/pkg/tool/*/api /usr/local/go/pkg/tool/*/go_bootstrap /usr/local/go/src/cmd/dist/dist "$GOCACHE" ; fi; apk del --no-network .fetch-deps; go version
2022-05-25 00:21:21 UTC/bin/sh -c #(nop) ENV GOPATH=/go
2022-05-25 00:21:21 UTC/bin/sh -c #(nop) ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-05-25 00:21:21 UTC/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
2022-05-25 00:21:21 UTC/bin/sh -c #(nop) WORKDIR /go
2022-08-08 21:51:31 UTC/bin/sh -c apk add --no-cache binutils-gold g++ gcc git musl-dev
2022-08-08 21:51:32 UTC/bin/sh -c mkdir -p /chaincode/output /chaincode/input
2022-08-08 21:51:33 UTC/bin/sh -c addgroup -g 500 chaincode && adduser -u 500 -D -h /home/chaincode -G chaincode chaincode
2022-08-08 21:51:34 UTC/bin/sh -c chown -R chaincode:chaincode /chaincode
2022-08-08 21:51:35 UTC/bin/sh -c #(nop) USER chaincode
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.