1dc49e2e
apk: ship dolt-git-hook as a -hook subpackage
The hook binary was the one piece of this repo not in the apk — the deployment's Dockerfile.git cloned the repo and compiled it from source at a separately pinned revision (SRHT_DOLT_HOOK_REV), which meant a second version pin to keep in lockstep, a build-time dependency on the git host, and a full Go toolchain stage in the git image rebuild. Add dolt-git-hook to the Makefile's BINARIES (same guarded target pattern) and split it into a dolt.sr.ht-hook subpackage: the git.sr.ht container needs only this 9 MB binary, not the 126 MB doltsrht service the main package carries. The deployment can now apk-add the subpackage at the same pinned version as the service.
Eugene Blikh <bigbes@gmail.com> — 2026-08-06 19:49:01 UTC
Commit 1dc49e2ecffdcfd6e0503ef183771850451e5eab —
view raw patch
Parent(s):
bb8ce43b
| File | Status | + | − |
|---|---|---|---|
APKBUILD
|
M | +9 | |
Makefile
|
M | +10 | -1 |