go-docker-builds

Installation
SKILL.md

Go Docker builds

Use this skill when containerizing a Go service for production. It covers the canonical multi-stage build pattern, static compilation, minimal base images, health checks, secrets handling, and CI integration for image builds.

Use this skill when

  • Writing a new Dockerfile for a Go service or API.
  • Debugging a Go Docker build that fails during compilation, linking, or the final image stage.
  • Switching a Go Docker image from a full base image to scratch or distroless.
  • Adding health checks, signals, or graceful shutdown handling to a Go container.
  • Pushing Go images to a registry from CI (GitHub Actions).
  • Handling CGO dependencies in a Go Docker build.
  • Setting up multi-platform builds for Go services.

Do not use this skill when

Installs
5
GitHub Stars
4
First Seen
Sep 1, 2026