Permalink
Browse files

Add Xdebug

* Why should I install `$PHPIZE_DEPS` first? -> docker-library/wordpress#244 (comment)
* Why should I use beta version (for now)? -> docker-library/php#560 (comment)
  • Loading branch information...
gundamew committed Jan 16, 2018
1 parent d763d94 commit fba908efd847ad13fc37faf7991005afdfd45bf7
Showing with 4 additions and 0 deletions.
  1. +4 −0 php-fpm/Dockerfile
@@ -14,6 +14,10 @@ RUN cp /usr/share/zoneinfo/$TZ /etc/localtime
RUN echo "date.timezone=$PHP_TIMEZONE" > "$PHP_INI_DIR/conf.d/date_timezone.ini"
RUN apk add --no-cache $PHPIZE_DEPS \
&& pecl install xdebug-2.6.0beta1 \
&& docker-php-ext-enable xdebug
CMD ["php-fpm"]
EXPOSE 9000

0 comments on commit fba908e

Please sign in to comment.