mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
#5 feat: install XDebug on PHP 7.x dev images
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user