protonmail-bridge-docker/build
c41ms0n cb69c79ec1 fix(entrypoint): correct abduco session detection and harden PTY_TOOL handling
- Validate PTY_TOOL at startup and verify the selected binary exists
- Add abduco_session_alive() using `abduco -l` instead of checking BRIDGE_SOCK
  (abduco does not create a socket file, so the old check always failed)
- Fix wait_for_session, manage blocking loop, and attach to use tool-specific
  liveness checks rather than grouping dtach and abduco together
- Add default (*) error branches to all PTY_TOOL case statements
- Check kill -0 BRIDGE_PID inside the port readiness loop to fail fast if the
  bridge exits before its ports are ready
- Add SIGTERM/SIGINT trap with a cleanup() function in run mode so Docker stop
  properly reaps bridge and socat children instead of waiting for the kill timeout
- Replace \$(hostname) with <container> placeholder in user-facing error messages
2026-04-29 21:50:50 +02:00
..
Dockerfile chore: update TCP healthcheck for multiple mail services 2026-04-29 21:50:50 +02:00
entrypoint.sh fix(entrypoint): correct abduco session detection and harden PTY_TOOL handling 2026-04-29 21:50:50 +02:00
gpgparams Add github actions for multiarch 2020-06-01 07:06:41 -07:00