Skip to content

Commit c4b93f2

Browse files
authored
Set proper xdebug version (#7)
1 parent ce129b9 commit c4b93f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dockerfile.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ if [[ $PHP_RUNTIME == php* ]]; then
1313
fi
1414

1515
if [[ $PHPUNIT_OPTS =~ (^|[[:space:]])--coverage-[[:alpha:]] ]]; then
16-
RUN_CMDS="$RUN_CMDS && \\\\\n git clone https://github.com/xdebug/xdebug.git /usr/src/php/ext/xdebug"
17-
RUN_CMDS="$RUN_CMDS && \\\\\n echo xdebug >> /usr/src/php-available-exts && docker-php-ext-install xdebug"
16+
RUN_CMDS="$RUN_CMDS && \\\\\n pecl install xdebug && docker-php-ext-enable xdebug"
1817
fi
1918

2019
echo -e "

0 commit comments

Comments
 (0)