mirror of
https://github.com/dockersrc/go
synced 2026-08-09 08:01:21 -04:00
- rootfs/root/docker/setup/05-custom.sh: restored the Go distribution
install and pre-built tool installs (goreleaser, golangci-lint,
staticcheck, gofumpt, gotestsum, ko, air, buf, goose) plus the
__gh_latest/__install_tar/__install_bin helpers. Commit 3266c80323
("Migrate /var/lib/srv docker paths to /srv in docs") silently
blanked this file to the empty upstream template stub while
unrelated to its stated purpose; it stayed empty through two
subsequent template-sync commits, so none of these binaries were
landing in the built image. Also fixed naming convention violations
found by script-lint: helper functions prefixed with __, globals
prefixed with CUSTOM_, and a VERSION= assignment added to match the
header stamp.
- AI.md: documented in Step 2 that 05-custom.sh carries app-specific
install logic, not template boilerplate, and must be diffed before
being blind-copied from the temp dir like other app-specific files
in Steps 3/4 — prevents this regression from recurring on future
template syncs.