Add e2e script to the repo, Dockerfile, and a Nix flake with a NixOS module

- scripts/e2e.sh (+ scripts/e2e/*.ts): the two-node end-to-end test, now
  self-contained and cleaning up after itself; `make e2e`, part of `make check`
- Dockerfile/.dockerignore: static Go build in a non-root alpine image, data in
  /data, defaults to region u1j; `make docker`
- flake.nix, nix/: package (buildGoModule), dev shell, NixOS module
  services.allmende (hardened systemd unit that waits for `allmende-admin init`),
  and a NixOS VM test run by `nix flake check`
- README: running a node with Docker and NixOS

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 21:21:21 +01:00
co-authored by Claude Sonnet 5.5
parent dc690a72c9
commit 20ea9b32f7
13 changed files with 604 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
/bin/
/result
*.key
node_modules/