debate/backend/app
Mikkel Georgsen 77a5aaa0f5 fix(01-05): use container-based builds instead of systemd-nspawn
Replace systemd-nspawn (Arch-only) with Podman/Docker containers:
- Works on any Linux host (Debian, Ubuntu, Fedora, etc.)
- Prefers Podman for rootless security, falls back to Docker
- Uses archlinux:latest image with archiso installed
- Network isolation via --network=none
- Resource limits: 8GB RAM, 4 CPUs
- Deterministic builds via SOURCE_DATE_EPOCH

This allows ISO builds from any development/production environment
rather than requiring an Arch-based build server.

LXC/Proxmox users: enable nesting on the container.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 20:41:36 +00:00
..
api feat(01-03): apply security middleware stack and database health check 2026-01-25 20:20:00 +00:00
core feat(01-05): add systemd-nspawn sandbox for isolated ISO builds 2026-01-25 20:19:02 +00:00
db feat(01-02): configure Alembic and create Build model 2026-01-25 20:11:55 +00:00
services fix(01-05): use container-based builds instead of systemd-nspawn 2026-01-25 20:41:36 +00:00
__init__.py feat(01-01): create FastAPI application structure with health endpoint 2026-01-25 20:09:21 +00:00
main.py feat(01-03): apply security middleware stack and database health check 2026-01-25 20:20:00 +00:00