clawbot
48ef120e3f
build: update Dockerfile with tests and multi-stage build, add Makefile
...
- Dockerfile runs go test before building
- Multi-stage: build+test stage, minimal alpine final image
- Add gcc/musl-dev for CGO (sqlite)
- Trim binaries with -s -w ldflags
- Makefile with build, test, clean, docker targets
- Version injection via ldflags
2026-02-26 20:24:06 -08:00
clawbot
23b19f9baa
Revert: exclude chat-cli from final Docker image (server-only)
...
CLI is built during Docker build to verify compilation, but only chatd
is included in the final image. CLI distributed separately.
2026-02-26 20:24:03 -08:00
clawbot
6e0ac71335
Include chat-cli in final Docker image
2026-02-26 20:24:03 -08:00
clawbot
e854dccfa0
Update Dockerfile for Go 1.24, no Node build step needed
...
SPA is vanilla JS shipped as static files in web/dist/,
no npm build step required.
2026-02-26 20:24:03 -08:00
84303c969a
fix: pin golangci-lint to v2.1.6 in Dockerfile
...
check / check (push) Failing after 14s
Replace @latest with @v2.1.6 to comply with hash-pinning policy
defined in REPO_POLICIES.md.
2026-02-26 11:43:52 -08:00
clawbot
27de1227c4
chore: pin Dockerfile images by sha256, run make check in build (refs #17 )
2026-02-26 06:09:04 -08:00
clawbot
03cbc3cd1a
Add Dockerfile and .dockerignore
...
Multi-stage build: golang:1.24-alpine builder, alpine:3.21 runtime.
Verified locally: all fx modules instantiate, migrations run,
healthcheck responds at /.well-known/healthcheck.json.
2026-02-09 12:36:55 -08:00