#25 feat: install XDebug on PHP 7.2 images

This commit is contained in:
Paolo Cuffiani
2018-01-10 20:17:27 +01:00
parent 006bafe7c8
commit 27186f38d6
6 changed files with 26 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM chialab/php:7.2
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug-beta \
&& 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.2-apache
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug-beta \
&& 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.2-fpm
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug-beta \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+2 -2
View File
@@ -1,6 +1,6 @@
FROM chialab/php:7.1
FROM chialab/php:latest
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
RUN pecl install xdebug-beta \
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
+3
View File
@@ -23,6 +23,9 @@ For more production-like environments, you might want to choose an [image *witho
- [`7.1` (_dev/7.1/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.1/Dockerfile)
- [`7.1-apache` (_dev/7.1/apache/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.1/apache/Dockerfile)
- [`7.1-fpm` (_dev/7.1/fpm/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.1/fpm/Dockerfile)
- [`7.2` (_dev/7.2/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.2/Dockerfile)
- [`7.2-apache` (_dev/7.2/apache/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.2/apache/Dockerfile)
- [`7.2-fpm` (_dev/7.2/fpm/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.2/fpm/Dockerfile)
As you might have guessed, all tags are built on top of the corresponding tag of the official image. Not all tags are supported in order to easen manteinance.