chore: install xdebug stable for PHP 8.4

This commit is contained in:
le0m
2024-11-29 10:02:34 +01:00
parent 487ff5370b
commit 69c38bd56c
+2 -6
View File
@@ -2,9 +2,5 @@ ARG BASE_IMAGE=chialab/php:latest
FROM ${BASE_IMAGE}
LABEL maintainer="dev@chialab.io"
# Install XDebug. Use beta version for PHP 8.4
RUN if [ $(php-config --vernum) -lt 80400 ]; then \
install-php-extensions xdebug; \
else \
install-php-extensions xdebug-beta; \
fi
# Install XDebug.
RUN install-php-extensions xdebug