feat: add PHP 7.4 images

This commit is contained in:
Frédéric Barthelet
2019-12-06 12:14:49 +01:00
parent 95b7d68649
commit 9bf3cf7c3c
12 changed files with 154 additions and 5 deletions
+6
View File
@@ -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
+6
View File
@@ -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
+6
View File
@@ -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
View File
@@ -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
+3
View File
@@ -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.