binary-go (sha256:97e81759490db3ed1148bc080a4eca73e38dc3cc5e655a42b4ef71e60e81d1e6)

Published 2026-07-10 14:34:52 +00:00 by fronbasal

Installation

docker pull git.binarycollective.de/binary/binary-go@sha256:97e81759490db3ed1148bc080a4eca73e38dc3cc5e655a42b4ef71e60e81d1e6
sha256:97e81759490db3ed1148bc080a4eca73e38dc3cc5e655a42b4ef71e60e81d1e6

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800'
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 ; 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.5
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
ARG NODE_VERSION=24.12.0
ARG PROTOC_VERSION=35.1
ARG PROTOC_GEN_GO_VERSION=v1.36.11
ARG PROTOC_GEN_GO_GRPC_VERSION=v1.6.2
RUN |4 NODE_VERSION=24.12.0 PROTOC_VERSION=35.1 PROTOC_GEN_GO_VERSION=v1.36.11 PROTOC_GEN_GO_GRPC_VERSION=v1.6.2 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git make unzip xz-utils zip && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 NODE_VERSION=24.12.0 PROTOC_VERSION=35.1 PROTOC_GEN_GO_VERSION=v1.36.11 PROTOC_GEN_GO_GRPC_VERSION=v1.6.2 /bin/sh -c curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" | tar -xzf - -C /usr/local --strip-components=1 # buildkit
RUN |4 NODE_VERSION=24.12.0 PROTOC_VERSION=35.1 PROTOC_GEN_GO_VERSION=v1.36.11 PROTOC_GEN_GO_GRPC_VERSION=v1.6.2 /bin/sh -c curl -fsSL -o /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip" && unzip -qo /tmp/protoc.zip -d /usr/local && rm -f /tmp/protoc.zip # buildkit
ENV PATH=/usr/local/bin:/go/bin:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 NODE_VERSION=24.12.0 PROTOC_VERSION=35.1 PROTOC_GEN_GO_VERSION=v1.36.11 PROTOC_GEN_GO_GRPC_VERSION=v1.6.2 /bin/sh -c go install "google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_VERSION}" && go install "google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION}" # buildkit
ENV GOFLAGS=-mod=readonly NODE_VERSION=24.12.0 PROTOC_VERSION=35.1 PROTOC_GEN_GO_VERSION=v1.36.11 PROTOC_GEN_GO_GRPC_VERSION=v1.6.2
WORKDIR /workspace
Details
Container
2026-07-10 14:34:52 +00:00
1
OCI / Docker
linux/amd64
376 MiB
Versions (3) View all