mirror of
https://github.com/penpot/penpot.git
synced 2026-11-18 16:12:24 +00:00
* 🐛 Reap zombie Chromium processes in the exporter container The exporter runs node as PID 1 with no init process. Chromium helper processes orphaned when Playwright closes a browser are re-parented to node, which never reaps them, so every browser-based export left defunct chrome-headless processes behind. Enable init for the exporter service so Docker's built-in init runs as PID 1, reaps the orphans and forwards signals to node. Closes #10339 Signed-off-by: Rayen Khammar <khammarrayen4@gmail.com> * 🐛 Move zombie reaping fix into the exporter image Install tini and run it as the image entrypoint with -s, so orphaned Chromium helpers are reaped in every deployment, including Kubernetes. -s keeps tini working without a warning when it runs under docker-init (init: true). Drop the compose init: true change to keep one mechanism. Signed-off-by: Rayen Khammar <khammarrayen4@gmail.com> --------- Signed-off-by: Rayen Khammar <khammarrayen4@gmail.com>