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
s6-rc.d
SOUL.md
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
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