docs: document fail-fast lint stage pattern for Dockerfiles #18
Reference in New Issue
Block a user
Delete Branch "update-dockerfile-lint-stage-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Documents the multistage Docker build pattern we now use across repos (chat, pixa, etc.) where a separate
lintstage runsmake fmt-checkandmake lintindependently from the build stage.Key additions to REPO_POLICIES.md:
COPY --from=lint /src/go.sum /dev/nullas the BuildKit dependency trick//go:embedplaceholders in the lint stageReference implementations:
sneak/chat,sneak/pixa.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.