mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
#45 feat: add dev images for PHP 7.3
This commit is contained in:
+3
-3
@@ -25,9 +25,9 @@ env:
|
||||
- VERSION=7.2
|
||||
- VERSION=7.2-apache
|
||||
- VERSION=7.2-fpm
|
||||
- VERSION=7.3 NO_DEV=1
|
||||
- VERSION=7.3-apache NO_DEV=1
|
||||
- VERSION=7.3-fpm NO_DEV=1
|
||||
- VERSION=7.3
|
||||
- VERSION=7.3-apache
|
||||
- VERSION=7.3-fpm
|
||||
|
||||
install:
|
||||
- travis_wait 30 make build VERSION=${VERSION}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM chialab/php:7.3
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.7.0beta1 \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM chialab/php:7.3-apache
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.7.0beta1 \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM chialab/php:7.3-fpm
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.7.0beta1 \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
+2
-2
@@ -27,11 +27,11 @@ EXTENSIONS := \
|
||||
soap \
|
||||
Xdebug \
|
||||
zip
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 latest))
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.2 7.3 latest))
|
||||
# Add more extensions to PHP < 7.2.
|
||||
EXTENSIONS += mcrypt
|
||||
endif
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.0 7.1 7.2 latest))
|
||||
ifeq (,$(findstring $(PHP_VERSION), 7.0 7.1 7.2 7.3 latest))
|
||||
# Add more extensions to 5.x series images.
|
||||
EXTENSIONS += mysql
|
||||
endif
|
||||
|
||||
+4
-1
@@ -29,6 +29,9 @@ For more production-like environments, you might want to choose an [image *witho
|
||||
- [`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)
|
||||
- [`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)
|
||||
|
||||
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.
|
||||
|
||||
@@ -45,7 +48,7 @@ in addition to those you can already find in the [official PHP image](https://hu
|
||||
- `gd`
|
||||
- `ldap`
|
||||
- `mbstring`
|
||||
- `mcrypt`
|
||||
- `mcrypt` (_only PHP ≤ 7.1_)
|
||||
- `memcached`
|
||||
- `mysql` (_only PHP 5.x_)
|
||||
- `mysqli`
|
||||
|
||||
Reference in New Issue
Block a user