2022-09-02 07:40:28 UTC
357 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:6aefca2dc61dcbcd268b8a9861e552f9cdb69e57242faec64ac120d2355a9c1a - 14.66% (52.4 MB)
[#001] sha256:967757d5652770cfa81b6cc7577d65e06d336173da116d1fb5b2d349d5d44127 - 1.38% (4.92 MB)
[#002] sha256:c357e2c68cb3bf1e98dcb3eb6ceb16837253db71535921d6993c594588bffe04 - 2.9% (10.4 MB)
[#003] sha256:c766e27afb21eddf9ab3e4349700ebe697c32a4c6ada6af4f08282277a291a28 - 14.56% (52.1 MB)
[#004] sha256:d6a8ea6bd5f867dbdf5bad1c42bc569afacf062a0241c1a8b45718fc8ae26fba - 22.9% (81.9 MB)
[#005] sha256:886d528c0894e13ee1038b0236eddab79e1a4723d4ad8b5afbfd8f5f186a9151 - 37.81% (135 MB)
[#006] sha256:ad84389257dbc613e39cb7da5e72ae1fe58403c1fe3cab41be9dd73ece6d8865 - 0.0% (157 Bytes)
[#007] sha256:c502ab3871104655bad40a32687977f2417ee4141dc10974a213b4dd9b8daa88 - 3.87% (13.8 MB)
[#008] sha256:e0203475c72dff7be55f9ba8a360fd04c236b7e8f4423ae650b0056f9f74dacc - 1.92% (6.88 MB)
/bin/sh -c #(nop) ADD file:3a81c181c66f226bd6abd48d0c7ed8a9c599c9f521ec7229286c83161afec8c2 in /
2022-04-20 04:43:16 UTC/bin/sh -c #(nop) CMD ["bash"]
2022-04-20 06:57:42 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
2022-04-20 06:57:48 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2022-04-20 06:58:03 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
2022-04-20 22:27:42 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/*
2022-04-20 22:27:43 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-10 22:19:53 UTC/bin/sh -c #(nop) ENV GOLANG_VERSION=1.18.2
2022-05-10 22:20:06 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; url=; case "$arch" in 'amd64') url='https://dl.google.com/go/go1.18.2.linux-amd64.tar.gz'; sha256='e54bec97a1a5d230fc2f9ad0880fcbabb5888f30ed9666eca4a91c5a32e86cbc'; ;; 'armel') export GOARCH='arm' GOARM='5' GOOS='linux'; ;; 'armhf') url='https://dl.google.com/go/go1.18.2.linux-armv6l.tar.gz'; sha256='570dc8df875b274981eaeabe228d0774985de42e533ffc8c7ff0c9a55174f697'; ;; 'arm64') url='https://dl.google.com/go/go1.18.2.linux-arm64.tar.gz'; sha256='fc4ad28d0501eaa9c9d6190de3888c9d44d8b5fb02183ce4ae93713f67b8a35b'; ;; 'i386') url='https://dl.google.com/go/go1.18.2.linux-386.tar.gz'; sha256='956b01369102eae9f2b714616056c3576c707ce401f41b60385db2595edafbb1'; ;; 'mips64el') export GOARCH='mips64le' GOOS='linux'; ;; 'ppc64el') url='https://dl.google.com/go/go1.18.2.linux-ppc64le.tar.gz'; sha256='7d1791ec63cda9b41ca5990477236142ffab9b86cc30d99f50bd8c4598406b30'; ;; 's390x') url='https://dl.google.com/go/go1.18.2.linux-s390x.tar.gz'; sha256='6646779524f2ce630efd8a55a29993591f763bb717011f16146b3e9bae7bba17'; ;; *) 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'; echo >&2; echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; echo >&2; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url" --progress=dot:giga; 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 savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends golang-go; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; 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; go version
2022-05-10 22:20:07 UTC/bin/sh -c #(nop) ENV GOPATH=/go
2022-05-10 22:20:07 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-10 22:20:08 UTC/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
2022-05-10 22:20:08 UTC/bin/sh -c #(nop) WORKDIR /go
2022-09-02 07:40:27 UTC/bin/sh -c curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/bin/src && chmod +x /usr/bin/src
2022-09-02 07:40:28 UTC/bin/sh -c #(nop) COPY file:07d29da102b08c8f21929e40814c3648d4bc7221224a77813f33eaae64ff5bdd in /usr/bin/
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.