Install Dockerfile build dependencies through script/bootstrap (closes #95) #156

Merged
clawbot merged 1 commits from issue-95-dockerfile-bootstrap into next 2026-09-29 09:11:22 +02:00
1 Commits
Author SHA1 Message Date
clawbot ff23551b07 Install Dockerfile build dependencies through script/bootstrap (closes #95)
check / check (push) Successful in 4m20s
The Dockerfile lint and build stages and Dockerfile.lint each carried
their own apk add list, a copy of what script/bootstrap installs. They
now copy script/, go.mod and go.sum and run script/bootstrap, so that
layer is reused until one of those changes. script/bootstrap gains a C
compiler check: the golang image has none, and cgo needs one.

The build adds -trimpath and -s -w; CGO_ENABLED=1 stays, as govips
links libvips. ARG VERSION moves to just above the build, so a new
version reruns neither script/bootstrap nor the tests.

Model: opus-5-5
2026-09-29 05:51:36 +00:00