Skip to content

Commit bdb1ace

Browse files
committed
Stable XDebug is now available for PHP 8.4
1 parent 929d155 commit bdb1ace

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

Dockerfile

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@ ARG PHP_TAG=8.0-cli-buster
22
FROM php:${PHP_TAG}
33

44
RUN <<-EOF
5-
docker-php-ext-enable opcache
6-
7-
if [ "$PHP_VERSION" \< "8.4" ]; then
8-
apt-get update
9-
apt-get install -y autoconf pkg-config
10-
pecl channel-update pecl.php.net
11-
pecl install xdebug
12-
docker-php-ext-enable xdebug
13-
fi
5+
apt-get update
6+
apt-get install -y autoconf pkg-config
7+
pecl channel-update pecl.php.net
8+
pecl install xdebug
9+
docker-php-ext-enable opcache xdebug
1410
EOF
1511

1612
RUN <<-EOF

0 commit comments

Comments
 (0)