diff --git a/Dockerfile b/Dockerfile index 27be4bf..b0cc6f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends \ RUN pecl install igbinary-3.2.15 && \ pecl install --configureoptions='enable-redis-igbinary="yes"' redis-6.2.0 && \ pecl install protobuf-4.27.2 grpc-1.64.1 && \ + pecl install xdebug && \ rm -rf /tmp/pear # Install PHP extensions via source (php-ext-lz4) @@ -29,9 +30,3 @@ RUN git clone --recursive --depth=1 https://github.com/NoiseByNorthwest/php-spx. cd /tmp/php-spx && \ phpize && ./configure && make && make install && \ rm -rf /tmp/php-spx - -# Install and configure Xdebug -RUN pecl install xdebug && docker-php-ext-enable xdebug && \ - echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \ - echo "xdebug.client_host=host.docker.internal" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \ - rm -rf /tmp/pear \ No newline at end of file