Skip to content

Commit

Permalink
add xdebug to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-chepurnoi committed Jan 13, 2017
1 parent 18f6f20 commit 17fbf27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ RUN apt-get install -y \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install intl zip opcache pdo_mysql

RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" \
> /usr/local/etc/php/conf.d/xdebug.ini

COPY ./.bashrc /root/.bashrc
COPY ./apache.conf /etc/apache2/sites-available/000-default.conf
COPY ./php.ini /usr/local/etc/php/
Expand Down

0 comments on commit 17fbf27

Please sign in to comment.