Skip to content

Commit ddfc8e9

Browse files
committed
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
1 parent 5d67fe7 commit ddfc8e9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ services:
5252
depends_on:
5353
- mysql
5454

55+
# The init directive ensures the command runs with a PID > 1, so Ctrl+C works correctly.
56+
init: true
57+
5558
##
5659
# The MySQL container.
5760
##

0 commit comments

Comments
 (0)