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