diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 23:09:31 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 23:09:31 +0200 |
| commit | 19e4d8dcc9c9e76a8c90855cccb4c4553b35389e (patch) | |
| tree | d014fd0baebc2e269ee6e2f3def2c657aaee3659 /docs/STATE.md | |
| parent | fe40173f32b14e012044b39f0f63c2613787e725 (diff) | |
| download | bokf-0.1.54.tar.gz bokf-0.1.54.zip | |
deploy: cross-compile static aarch64 for the Alpine imagev0.1.54
Diffstat (limited to 'docs/STATE.md')
| -rw-r--r-- | docs/STATE.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/STATE.md b/docs/STATE.md index 21995c6..b6c5d4f 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -80,11 +80,13 @@ check. get accounts/roles/tokens, never VPN access. The runtime image is **Alpine + backend only** (`bokfd`, `bokfctl`; the ncurses TUI is a frontend built on the client machine). `scripts/deploy.sh` builds locally - and ships over SSH, or builds the same image natively on the host when - architectures differ (no cross-compilation — a musl cross toolchain is - not trusted yet). `scripts/deploy.sh --dev` hot-reloads the binaries in - the running container (SIGHUP re-exec via `docker cp`) when the - architecture matches, otherwise it falls back to a full remote build. + and ships over SSH, or — when the architectures differ — + cross-compiles the backend on the dev machine as **static aarch64 + (glibc + OpenSSL archives, runs directly on Alpine, DNS verified) and + assembles the image in the host's Docker** (`deploy/Dockerfile.cross`, + ~20 s; the image carries no `libssl3`). `scripts/deploy.sh --dev` + hot-reloads the binaries in the running container (SIGHUP re-exec via + `docker cp`), cross-compiling first when the architecture differs. 15. **Reports in the TUI**: rendered as fixed-width Swedish tables that mirror the Kapitas PDF exports (Saldobalans, Resultatrapport with previous-year column and 89xx bokfört/ej bokfört, Balansrapport with Ing balans/Ing |
