# docker-library/golang

Docker Official Image packaging for golang

Repository: https://github.com/docker-library/golang
Canonical: https://ross.abutalabs.com/products/docker-library-golang
Homepage: https://golang.org
Language: Shell
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-24T04:38:56+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4416, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1561, forks 528 (observed 2026-08-28T04:05:03.833222+00:00)

## What it is
The Docker Official Image packaging repository for the Go programming language, providing the 'golang' images published on Docker Hub. It contains the shell scripts and Dockerfiles that build maintained Go toolchain images for use as build and runtime bases in containers.

## Use cases
- build go applications inside docker containers
- base image for golang dockerfile
- multi-stage docker build with go toolchain
- run go compiler in ci pipeline container
- pin a specific go version in containerized builds
- containerize a go microservice

## When to choose
- you need a trusted, regularly updated Go toolchain image for Docker builds
- you want multi-architecture official images for building or running Go code
- you want reproducible Go versions in CI/CD containers

## When to avoid
- you need the Go compiler installed natively on your host rather than in a container
- you need a minimal distroless runtime image with custom tooling
- you want to modify the Go toolchain itself rather than consume it

## Facets
- artifact type: infra-config
- maturity: stable
- function: container-runtime, developer-tools, build-tool
- domain: developer-tools, programming-languages
- platform: cross-platform
- tags: docker-official-image, golang, container-image, base-image, containers, docker, linux

## Member repositories
- docker-library/golang (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.833222+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:43.839754+00:00, confidence not recorded.
  - readme: https://github.com/docker-library/golang (fetched 2026-08-28T04:05:03.833222+00:00, sha 2b51d02a5a90)
  - homepage: https://golang.org (fetched 2026-08-29T11:29:17.998529+00:00, sha d748f8628654)
  - site_page: https://go.dev/doc/install (fetched 2026-08-29T11:29:18.001600+00:00, sha 8103579c8f44)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T11:29:18.003452+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T11:29:18.005341+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
