hermes-agent/docker/s6-rc.d/dashboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
ethernet e548e7758c fix(docker): stop sourcing the relocatable venv's activate from sh
PM builds the image venv relocatable. Its bin/activate finds itself only under
bash/zsh/ksh; under dash SCRIPT_PATH is empty, realpath '' fails, and it
exports VIRTUAL_ENV=. with ./bin first on PATH. Every root-run s6 script did
`cd /opt/data; . activate; exec s6-setuidgid hermes ...`, so /opt/data/bin --
on the volume, writable by the agent's own uid -- shadowed /command: a planted
bin/s6-setuidgid ran as uid 0 and the gateway stayed root.

The image's ENV PATH already carries /opt/hermes/bin and the venv's bin, and
with-contenv restores it, so the three sites (main-wrapper, dashboard, the
generated per-profile gateway run script) drop the source entirely.
2026-09-24 12:30:00 -04:00
..
dependencies.d
finish fix(docker): make s6 lifecycle work for the unprivileged hermes user 2026-05-25 12:23:23 +10:00
run fix(docker): stop sourcing the relocatable venv's activate from sh 2026-09-24 12:30:00 -04:00
type feat(docker)!: replace tini with s6-overlay as PID 1 2026-05-24 18:05:33 -07:00