feat: split Dockerfile into dedicated lint stage #43

Closed
clawbot wants to merge 1 commits from fix/41-split-dockerfile into main

1 Commits

Author SHA1 Message Date
clawbot
03b4b8e5c4 feat: split Dockerfile into dedicated lint stage
Add pre-built golangci/golangci-lint:v1.64.8 image as a separate lint
stage for fast lint feedback without rebuilding the entire builder.

- Lint stage: installs protobuf-compiler, generates code, runs make lint
- Build stage: pins sneak/builder by sha256, removes inline golangci-lint
- COPY --from=lint forces BuildKit to execute the lint stage
- All images pinned by sha256 digest
- Final stage (FROM scratch) unchanged
2026-03-02 00:03:04 -08:00