Skip to content

Commit a87c2c1

Browse files
Update Dockerfile
1 parent 52a82b4 commit a87c2c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layers/fpm-dev/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ARG PHP_VERSION
1010
RUN mkdir -p /opt/bref/extensions
1111

1212
# Install xdebug
13-
RUN pecl install xdebug-3.4.5
14-
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions
13+
RUN if [ $PHP_VERSION != "85" ]; then pecl install xdebug-3.4.5; fi
14+
RUN if [ $PHP_VERSION != "85" ]; then cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions; fi
1515

1616
# Install Blackfire
1717
# 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

0 commit comments

Comments
 (0)