hermes-agent/docker
konsisumer f40f4711ed fix(install): support non-pid-1 container entrypoints
Replace the bare /init ENTRYPOINT with entrypoint-dispatch.sh: exec
/init + main-wrapper when the image owns PID 1, fall back to a direct
stage2 bootstrap (with the s6 helper PATH restored) on wrapped runtimes
where s6-overlay-suexec would abort with 'can only run as pid 1'
(Fly Machines, docker run --init, podman/FreeBSD setups).

Cherry-picked from PR #43763 by @konsisumer, conflicts with current
main resolved (tests/test_dockerfile_tini_compat_shim.py was moved to
tests/docker/, container_boot argv tests were reshaped upstream).

Fixes #38349
2026-08-01 10:52:34 -07:00
..
cont-init.d Remove prviliges drop when you never ran as root (#34837) 2026-06-01 13:54:18 +10:00
s6-rc.d fix(docker): replace dashboard --insecure with basic-auth provider 2026-06-21 19:05:27 -07:00
SOUL.md fix(soul): installers seed the real default persona, upgrade legacy empty templates (#52246) 2026-06-24 18:56:26 -07:00
entrypoint-dispatch.sh fix(install): support non-pid-1 container entrypoints 2026-08-01 10:52:34 -07:00
entrypoint.sh fix(install): support non-pid-1 container entrypoints 2026-08-01 10:52:34 -07:00
hermes-exec-shim.sh fix(docker): drop `docker exec` to hermes uid before invoking the CLI 2026-05-28 13:30:36 +10:00
main-wrapper.sh fix(install): support non-pid-1 container entrypoints 2026-08-01 10:52:34 -07:00
stage2-hook.sh fix(hermes_cli): heal root-owned logs/gateways on every stage2 boot 2026-07-27 19:19:01 +05:30
tini-shim.sh fix(docker): strip tini -g flags in legacy entrypoint shim 2026-07-18 01:11:03 -07:00