Skip to content

Commit 3b64a92

Browse files
Update Dockerfile
1 parent 8cab2bb commit 3b64a92

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

layers/fpm-dev/Dockerfile

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

1212
# Install xdebug
13-
if [[ $PHP_VERSION != "84" ]]; then
14-
pecl install xdebug-3.3.2
15-
else
16-
pecl install xdebug-3.4.0beta1
17-
fi
18-
19-
cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions
13+
run if [[ $PHP_VERSION != "84" ]]; then pecl install xdebug-3.3.2; else pecl install xdebug-3.4.0beta1; fi
14+
RUN cp $(php -r "echo ini_get('extension_dir');")/xdebug.so /opt/bref/extensions
2015

2116
# Install Blackfire
2217
# 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)