docs: document fail-fast lint stage pattern for Dockerfiles #18

Open
clawbot wants to merge 1 commits from update-dockerfile-lint-stage-docs into main

1 Commits

Author SHA1 Message Date
user
3ec7ecfca8 docs: document fail-fast lint stage pattern for Dockerfiles
All checks were successful
check / check (push) Successful in 8s
Adds detailed documentation of the multistage Docker build pattern
where a separate lint stage runs fmt-check and lint before the build
stage begins. Includes the standard Dockerfile template, the BuildKit
dependency trick (COPY --from=lint), go:embed placeholder handling,
and CGO/system library notes.
2026-03-12 16:44:47 -07:00