Merge pull request #91 from LaraDock/xdebug

Xdebug
This commit is contained in:
Mahmoud Zalt 2016-06-03 15:06:57 +03:00
commit 1148a3d051
4 changed files with 26 additions and 8 deletions

View File

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \
@ -19,6 +21,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

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \
@ -19,6 +21,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

@ -8,7 +8,9 @@ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install -y \
libpq-dev \
libmemcached-dev \
curl
curl \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \
@ -23,6 +25,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