From ddfc8e9f2ec73132655e936d6bc5e5922313c659 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 1 Jul 2022 19:35:47 +0000 Subject: [PATCH] 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 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index efcd0cd5c7..0ea37a4c95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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. ##