golang (1.22)

Published 2026-07-10 00:01:44 +02:00 by chris

Installation

docker pull git.c-moser.at/containers-arm64v8/golang:1.22
sha256:278f940cb3af0086cba0a7825943a7d3e264eedb768389478d6d97abf59d24b4

Image layers

# debian.sh --arch 'arm64' out/ 'bookworm' '@1738540800'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /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/* # buildkit
ENV GOLANG_VERSION=1.22.12
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-07-10 00:01:44 +02:00
0
OCI / Docker
linux/arm64/v8
284 MiB
Versions (5) View all
1.22-alpine 2026-07-10
1.22 2026-07-10
1.23-alpine 2026-07-10
1.23 2026-07-10
latest 2026-07-09