mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
feat: add PHP 7.4 images
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
FROM chialab/php:7.4
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# 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.4-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# 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.4-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
+2
-2
@@ -28,11 +28,11 @@ EXTENSIONS := \
|
||||
soap \
|
||||
Xdebug \
|
||||
zip
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 latest))
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 7.4 latest))
|
||||
# Add more extensions to PHP < 7.2.
|
||||
EXTENSIONS += mcrypt
|
||||
endif
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.0 7.1 7.2 7.3 latest))
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.0 7.1 7.2 7.3 7.4 latest))
|
||||
# Add more extensions to 5.x series images.
|
||||
EXTENSIONS += mysql
|
||||
endif
|
||||
|
||||
@@ -32,6 +32,9 @@ For more production-like environments, you might want to choose an [image *witho
|
||||
- [`7.3` (_dev/7.3/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.3/Dockerfile)
|
||||
- [`7.3-apache` (_dev/7.3/apache/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.3/apache/Dockerfile)
|
||||
- [`7.3-fpm` (_dev/7.3/fpm/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.3/fpm/Dockerfile)
|
||||
- [`7.4` (_dev/7.4/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.4/Dockerfile)
|
||||
- [`7.4-apache` (_dev/7.4/apache/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.4/apache/Dockerfile)
|
||||
- [`7.4-fpm` (_dev/7.4/fpm/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/7.4/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