mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
- refactor: use external script to install PHP extensions and their dependencies
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:5.6
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:5.6-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:5.6-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:7.0
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.0-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.0-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:7.1
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.1-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.1-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:7.2
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.2-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.2-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:7.3
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.3-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.3-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:7.4
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.4-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
@@ -2,5 +2,5 @@ FROM chialab/php:7.4-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FROM chialab/php:latest
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
RUN install-php-extensions xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
|
||||
Reference in New Issue
Block a user