Passe a la version 2.4.1 de xdebug

This commit is contained in:
2016-09-27 16:54:47 +02:00
parent 4b23424ff4
commit 200cd26a06

View File

@@ -1,9 +1,10 @@
FROM php:7-fpm
RUN cd /tmp/ && \
curl -O http://pecl.php.net/get/xdebug-2.4.0.tgz && \
tar zxvf xdebug-2.4.0.tgz && \
mv xdebug-2.4.0 /usr/src/php/ext/xdebug
curl -O https://xdebug.org/files/xdebug-2.4.1.tgz && \
tar zxf xdebug-2.4.1.tgz && \
mkdir -p /usr/src/php/ext/xdebug && \
mv xdebug-2.4.1/* /usr/src/php/ext/xdebug/
RUN apt-get update && apt-get install -y \
ssmtp \
@@ -15,7 +16,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-install -j$(nproc) mysqli pdo pdo_mysql \
&& docker-php-ext-install -j$(nproc) xdebug\
&& apt-get purge -y --auto-remove $buildDeps \
&& cd /usr/src/php \
&& cd /usr/src/php/ext/xdebug/ \
&& make clean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*