Passe a la version 2.4.1 de xdebug
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM php:7-fpm
|
FROM php:7-fpm
|
||||||
|
|
||||||
RUN cd /tmp/ && \
|
RUN cd /tmp/ && \
|
||||||
curl -O http://pecl.php.net/get/xdebug-2.4.0.tgz && \
|
curl -O https://xdebug.org/files/xdebug-2.4.1.tgz && \
|
||||||
tar zxvf xdebug-2.4.0.tgz && \
|
tar zxf xdebug-2.4.1.tgz && \
|
||||||
mv xdebug-2.4.0 /usr/src/php/ext/xdebug
|
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 \
|
RUN apt-get update && apt-get install -y \
|
||||||
ssmtp \
|
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) mysqli pdo pdo_mysql \
|
||||||
&& docker-php-ext-install -j$(nproc) xdebug\
|
&& docker-php-ext-install -j$(nproc) xdebug\
|
||||||
&& apt-get purge -y --auto-remove $buildDeps \
|
&& apt-get purge -y --auto-remove $buildDeps \
|
||||||
&& cd /usr/src/php \
|
&& cd /usr/src/php/ext/xdebug/ \
|
||||||
&& make clean \
|
&& make clean \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
Reference in New Issue
Block a user