Merge pull request #1049 from igittGit/patch-2

Update Dockerfile-71
This commit is contained in:
Mahmoud Zalt 2017-07-07 14:33:29 +03:00 committed by GitHub
commit 422d6d8dd0
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ RUN echo "" >> ~/.bashrc && \
ARG INSTALL_XDEBUG=false
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get install -y --force-yes php-xdebug && \
sed -i 's/^;//g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
apt-get update && \
apt-get install -y --force-yes php7.1-xdebug && \ sed -i 's/^;//g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
;fi
# ADD for REMOTE debugging