Build/Test Tools: Run the PHP container with PID > 1 so Ctrl+C works correctly.

This allows for cancellation of operations in the PHP container, such as a PHPUnit test suite run.

Fixes #55702


git-svn-id: https://develop.svn.wordpress.org/trunk@53628 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2022-07-01 19:35:47 +00:00
parent 5d67fe7d09
commit ddfc8e9f2e

View File

@ -52,6 +52,9 @@ services:
depends_on:
- mysql
# The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly.
init: true
##
# The MySQL container.
##