File tree Expand file tree Collapse file tree 1 file changed +5
-21
lines changed
Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -32,28 +32,12 @@ RUN docker-php-ext-install bcmath
3232RUN docker-php-ext-install pcntl
3333RUN docker-php-ext-install intl
3434
35- # Uncomment when xdebug supports php8.5
36- # RUN pecl install xdebug
37- # RUN docker-php-ext-enable xdebug
38- # COPY ./xdebug.ini "${PHP_INI_DIR}/conf.d"
39-
40- # ---- BEGIN TEMPORARY XEDEBUG INSTALL FROM SOURCE
41- RUN mkdir -p /tmp/xdebug
42- RUN curl -L https://xdebug.org/files/xdebug-3.5.0alpha3.tgz \
43- | tar -xz -C /tmp/xdebug --strip-components=1
44-
45- # Build and install Xdebug
46- RUN cd /tmp/xdebug \
47- && phpize \
48- && ./configure \
49- && make \
50- && make install
51-
52- RUN touch "${PHP_INI_DIR}/conf.d/99-xdebug.ini"
53- RUN echo "zend_extension=xdebug" > ${PHP_INI_DIR}/conf.d/99-xdebug.ini
35+ # Install Xdebug
36+ RUN curl -L -o "pie.phar" https://github.com/php/pie/releases/download/1.3.1/pie.phar
37+ RUN php pie.phar install xdebug/xdebug
38+ RUN docker-php-ext-enable xdebug
5439COPY ./xdebug.ini "${PHP_INI_DIR}/conf.d"
55- RUN rm -Rf /tmp/xdebug
56- # ---- END TEMPORARY XDEBUG INSTALL FROM SOURCE
40+ RUN rm pie.phar
5741
5842# Install Blackfire.
5943RUN mkdir -p /tmp/blackfire \
You can’t perform that action at this time.
0 commit comments