From 69b02aafeedb8311a594243899c5904c73317580 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Wed, 10 Jul 2024 15:46:57 +0200 Subject: [PATCH] Skip building PHP 8.4 for now --- layers/fpm-dev/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/fpm-dev/Dockerfile b/layers/fpm-dev/Dockerfile index f23ef55d..58bf2a64 100644 --- a/layers/fpm-dev/Dockerfile +++ b/layers/fpm-dev/Dockerfile @@ -10,8 +10,8 @@ ARG PHP_VERSION RUN mkdir -p /opt/bref/extensions # Install xdebug -RUN pecl install xdebug -RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions +RUN if [ $PHP_VERSION != "84" ]; then pecl install xdebug; fi +RUN if [ $PHP_VERSION != "84" ]; then cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions; fi # 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