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="$( \