From 3b64a9273b1a1b4d99becd21781cc979c256c941 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Wed, 16 Oct 2024 09:31:52 +0100 Subject: [PATCH] Update Dockerfile --- layers/fpm-dev/Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/layers/fpm-dev/Dockerfile b/layers/fpm-dev/Dockerfile index 21d67a36..e02391de 100644 --- a/layers/fpm-dev/Dockerfile +++ b/layers/fpm-dev/Dockerfile @@ -10,13 +10,8 @@ ARG PHP_VERSION RUN mkdir -p /opt/bref/extensions # Install xdebug -if [[ $PHP_VERSION != "84" ]]; then - pecl install xdebug-3.3.2 -else - pecl install xdebug-3.4.0beta1 -fi - -cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions +run if [[ $PHP_VERSION != "84" ]]; then pecl install xdebug-3.3.2; else pecl install xdebug-3.4.0beta1; fi +RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions # Install Blackfire # https://blackfire.io/docs/up-and-running/installation?action=install&mode=full&version=latest&mode=full&location=server&os=manual&language=php#install-the-php-probe