Skip to content
quarry View Ticket
Login

View Ticket

Linux build recipe for the beta host

Closed6b2754a1990a6816de25ff508a5148aeea3b9e69Created 87.6 days agoUpdated 67.9 days ago
Description2026-09-04 09:15:27
Quarry has only ever been built on this Mac. The DuckDB bindings are platform-bound, so cross-compiling is not the path: document and script a build ON the host (Go toolchain version, zig for zit, the ldflags version stamp), and prove it once in a Linux container here before the VPS exists. Output: scripts/build-linux.sh and a docs/running.md section. Blocker for the Hetzner beta host.
2026-09-04 10:37:07

Landed (linux-build): scripts/build-linux.sh plus a docs/running.md section. Pinned zit release, checksum-verified, stamped quarry build. Left open for one thing: the container proof (golang:1.26 running the script) has not run yet because no Docker daemon was available on the Mac; close after it runs here or on the VPS.

2026-09-04 10:44:11

Proven on hetzner-big-eu (Ubuntu 26.04, x86_64) inside a golang:1.26 container: scripts/build-linux.sh installed zit 0.3.4 from its release (checksum verified) and built quarry; both answer version on the host. One finding folded into the script: the zit repository is private, so release assets need GITHUB_TOKEN via the API asset route, or a pre-copied release directory (ZIT_RELEASE_DIR).