[WEB-19] update xdebug installation

This commit is contained in:
Piotr Marynczak committed 2026-09-03 13:47:27 +02:00
1 parent aa75bb0e23
commit 73f685207c
1 file changed
+6 -2
+6 -2
View File
@@ -13,11 +13,15 @@ RUN apk add --update --no-cache \
icu-dev \
libzip-dev \
oniguruma-dev \
php82-pecl-xdebug \
&& cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
&& echo "${TIMEZONE}" > /etc/timezone
RUN apk add --update --no-cache --virtual .build-deps $PHPIZE_DEPS linux-headers \
&& pecl install xdebug \
RUN set -x \
&& EXT_DIR="$(php -r 'echo PHP_EXTENSION_DIR;')" \
&& ln -s /usr/lib/php82/modules/xdebug.so "${EXT_DIR}/xdebug.so"
RUN apk add --update --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& docker-php-ext-install \
zip \
intl \