Container-Image für Linux-Standorte (#70) #71
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/container"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #70.
Image (
dist/container/Dockerfile)rust:1-bookworm, die Laufzeit ingcr.io/distroless/cc-debian12:nonroot: glibc, keine Shell, uid/gid 65532. Etwa 40 MB.mdns-bridged --status. Das Statussocket-Verzeichnis/run/mdns-bridgedgehört dem Daemon-User./etc/mdns-bridge.tomlgemountet, den Standardpfad unter Linux.Build (
imagesmith.yaml,.forgejo/workflows/container.yml)podman, wie bei webspace-gen..imagesmithignoreaufCargo.*,src/unddist/container/.format: docker, damit derHEALTHCHECKerhalten bleibt.<version>-s<run>,testingvX.Y.ZX.Y.Z,latest; der Tag muss zuCargo.tomlpassen--help,--check-configmitexamples/linux.tomlund ein Check des Users.REPO_REGISTRY_NAME(Standardgit.bocc.de), Namespace = Repo-Owner, TokenREPO_REGISTRY_TOKEN. Das Image wird alsogit.bocc.de/jochen/mdns-bridged.Betrieb
--network hostfunktioniert, weil mDNS Multicast auf den LAN-Interfaces braucht.--read-only,--cap-drop all,no-new-privilegesund ein tmpfs für das Statussocket.dist/container/mdns-bridged.containerfür Podman/systemd, mitAutoUpdate=registry. PSK optional als Podman-Secret.Getestet
Lokal mit Docker:
--network host --read-only --cap-drop allgestartet. Ein mDNS-Announce (PTR, SRV, TXT, A) aufdocker0erschien in--recordsmit den Daten aus 0.1.4.healthy.Nicht getestet:
uid=unter Podman.🤖 Generated with Claude Code
https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp