install xdebug to generate coverage report for unit testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-06-03 14:04:33 +08:00
parent eda286ded2
commit f130381cfe
3 changed files with 14 additions and 2 deletions

View File

@ -19,6 +19,10 @@ RUN docker-php-ext-install \
RUN pecl install memcached \
&& docker-php-ext-enable memcached
# Install xdebug
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@ -19,6 +19,10 @@ RUN docker-php-ext-install \
RUN pecl install memcached \
&& docker-php-ext-enable memcached
# Install xdebug
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@ -23,6 +23,10 @@ RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-m
&& docker-php-ext-install memcached \
&& rm /tmp/memcached.tar.gz
# Install xdebug
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel