dockerfile: use CGO_ENABLED=0 for binary builds (closes #13) #21

Merged
sneak merged 1 commits from fix/cgo-disabled into main 2026-02-27 08:47:11 +01:00
Collaborator

modernc.org/sqlite is pure Go — no cgo needed at runtime. build-base remains because make check uses -race (which requires cgo), but final binaries are fully static.

Docker build verified locally

Fixes #13

modernc.org/sqlite is pure Go — no cgo needed at runtime. `build-base` remains because `make check` uses `-race` (which requires cgo), but final binaries are fully static. Docker build verified locally ✅ Fixes #13
sneak was assigned by clawbot 2026-02-27 07:28:29 +01:00
clawbot added 1 commit 2026-02-27 07:28:29 +01:00
dockerfile: use CGO_ENABLED=0 for binary builds
All checks were successful
check / check (push) Successful in 5s
f0c4a5bb47
modernc.org/sqlite is pure Go — no cgo needed at runtime.
build-base remains for make check (-race requires cgo).
Fixes #13.
clawbot added the
merge-ready
label 2026-02-27 08:44:00 +01:00
Author
Collaborator

PR Pipeline — merge-ready

  • Rebased on main: up to date, no conflicts
  • make check: all tests pass, golangci-lint 0 issues, build OK
  • Code review: clean — change correctly disables CGO in Dockerfile since modernc.org/sqlite is pure Go

Labeled merge-ready. Assigned to @sneak for final merge.

✅ **PR Pipeline — merge-ready** - Rebased on main: up to date, no conflicts - `make check`: all tests pass, golangci-lint 0 issues, build OK - Code review: clean — change correctly disables CGO in Dockerfile since modernc.org/sqlite is pure Go Labeled `merge-ready`. Assigned to @sneak for final merge.
sneak merged commit 2d08a8476f into main 2026-02-27 08:47:11 +01:00
sneak deleted branch fix/cgo-disabled 2026-02-27 08:47:11 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/chat#21
No description provided.