mirror of
https://github.com/saltbo/zpan.git
synced 2026-08-29 00:01:42 +08:00
348976205b
The docker-dev build took ~14 min, dominated by a ~12-min server-image build — its arm64 half runs under QEMU emulation (native better-sqlite3/sharp). - Dev images (:dev, :dev-cli) now build linux/amd64 only, skipping arm64 QEMU entirely. Releases stay multi-arch. (The primary dev consumer runs amd64.) - The Go CLI builder now runs on $BUILDPLATFORM and cross-compiles via GOOS/GOARCH (CGO off), so the release arm64 CLI builds natively instead of under QEMU — arm64 'go build' verified at ~5s vs emulated minutes. Adds go build/mod cache mounts for fast incremental rebuilds.