aboutsummaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md12
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