Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary As of October 2026, mount dependency and compiler caches only in the BuildKit builder stage, write the executable outside those mounts, and copy it into a nonroot runtime. For a Go binary without libc dependencies, choose static-debian13:nonroot.
Not for Docker BuildKit layer-cache export on GitHub Actions, see docker-build-slow-on-github-actions-gha-layer-cache
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.