From 17092e0c999e3653aadea7f48f4bbbf9680612d1 Mon Sep 17 00:00:00 2001 From: Jonne Ransijn Date: Mon, 19 Feb 2024 12:54:27 +0100 Subject: [PATCH] Do not delete source files when debugging --- Dockerfile-linux.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile-linux.template b/Dockerfile-linux.template index f980ecd33..98a3b94a4 100644 --- a/Dockerfile-linux.template +++ b/Dockerfile-linux.template @@ -414,7 +414,9 @@ RUN set -eux; \ cp -v php.ini-* "$PHP_INI_DIR/"; \ \ cd /; \ +{{ if env.DOCKER_PHP_ENABLE_DEBUG then "" else ( -}} docker-php-source delete; \ +{{ ) end -}} \ {{ if is_alpine then ( -}} runDeps="$( \