images

golang (1.26)

Published 2026-10-03 14:04:24 +08:00 by binghe

Installation

docker pull code.innev.cn/images/golang:1.26
sha256:3cc738e5d44f46f64bd607884a58d269c17c61350d12be9d256b3a3a757609e7

Image Layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1789689600'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit
ENV GOLANG_VERSION=1.26.8
ENV GOTOOLCHAIN=local
ENV GOPATH=/go
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /target/ / # buildkit
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit
WORKDIR /go
Details
Container
2026-10-03 14:04:24 +08:00
2
OCI / Docker
linux/amd64
299 MiB
Versions (4) View all
1.26 2026-10-03
1.25-alpine 2026-10-02
1.26-alpine 2026-10-02
latest 2026-10-02