Add opt-in root access, persistent containers and per-project packages

This commit is contained in:
2026-10-27 21:04:41 +01:00
parent a2cda697dd
commit 874352397f
5 changed files with 283 additions and 19 deletions

View File

@@ -19,6 +19,23 @@ MOUNTS=(
GUI=0
AUDIO=0
# ROOT=1: passwordless sudo inside the container (e.g. to apt-get install tools).
# System changes are lost when the container exits, unless PERSIST=1.
ROOT=0
# PERSIST=1: keep this project's container between runs, so system changes
# (packages installed with sudo, files outside mounts) survive.
# It is recreated, losing them, when the settings here or the image
# change. `claudio reset` removes it.
PERSIST=0
# Extra Debian packages, built into a per-project image. Unlike changes made
# with sudo, these survive `claudio update` and PERSIST recreations.
PACKAGES=(
# python3
# nodejs
)
# Extra `podman run` options (env vars, ports, resources, ...).
PODMAN_ARGS=(
# -e GITHUB_TOKEN