diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index db041e6..249e174 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -1,10 +1,10 @@ FROM php:7-fpm -RUN cd /tmp/ && \ - curl -O https://xdebug.org/files/xdebug-2.4.1.tgz && \ - tar zxf xdebug-2.4.1.tgz && \ +RUN curl -o /tmp/xdebug.tgz https://xdebug.org/files/xdebug-2.5.0.tgz && \ mkdir -p /usr/src/php/ext/xdebug && \ - mv xdebug-2.4.1/* /usr/src/php/ext/xdebug/ + tar xzf /tmp/xdebug.tgz -C /usr/src/php/ext/xdebug/ && \ + rm /tmp/xdebug.tgz && \ + mv /usr/src/php/ext/xdebug/xdebug*/* /usr/src/php/ext/xdebug/ RUN apt-get update && apt-get install -y \ ssmtp \