#5 feat: install XDebug on PHP 7.x dev images

This commit is contained in:
Paolo Cuffiani
2017-01-12 14:25:26 +01:00
parent 8373cad789
commit bb15f4a8aa
8 changed files with 40 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.0
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.0-apache
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.0-fpm
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.1
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.1-apache
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.1-fpm
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+2 -1
View File
@@ -25,10 +25,11 @@ EXTENSIONS := \
pdo_mysql \
pdo_pgsql \
pgsql \
Xdebug \
zip
ifneq ($(VERSION),$(filter 7.0 7.1 latest, $(VERSION)))
# Add more extensions to 5.x series images.
EXTENSIONS += memcached mysql redis Xdebug
EXTENSIONS += memcached mysql redis
endif
pull: