mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
#18 refactor: disable PHP 7.2 dev images
This commit is contained in:
+3
-3
@@ -22,9 +22,9 @@ env:
|
||||
- VERSION=7.1
|
||||
- VERSION=7.1-apache
|
||||
- VERSION=7.1-fpm
|
||||
- VERSION=7.2
|
||||
- VERSION=7.2-apache
|
||||
- VERSION=7.2-fpm
|
||||
- VERSION=7.2 NO_DEV=1
|
||||
- VERSION=7.2-apache NO_DEV=1
|
||||
- VERSION=7.2-fpm NO_DEV=1
|
||||
|
||||
install:
|
||||
- travis_wait 30 make build VERSION=${VERSION}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM chialab/php:7.2
|
||||
MAINTAINER dev@chialab.it
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM chialab/php:7.2-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM chialab/php:7.2-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
&& echo "zend_extension=\"$(php-config --extension-dir)/xdebug.so\"" > $PHP_INI_DIR/conf.d/xdebug.ini
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM chialab/php:latest
|
||||
FROM chialab/php:7.1
|
||||
MAINTAINER dev@chialab.it
|
||||
|
||||
# Install XDebug.
|
||||
|
||||
+2
-6
@@ -23,15 +23,11 @@ EXTENSIONS := \
|
||||
soap \
|
||||
Xdebug \
|
||||
zip
|
||||
ifneq ($(VERSION),$(filter 7.2, $(VERSION)))
|
||||
# Add more extensions to PHP < 7.2.
|
||||
EXTENSIONS += mcrypt
|
||||
endif
|
||||
ifneq ($(VERSION),$(filter 7.0 7.1 7.2 latest, $(VERSION)))
|
||||
ifneq ($(VERSION),$(filter 7.0 7.1 latest, $(VERSION)))
|
||||
# Add more extensions to 5.x series images.
|
||||
EXTENSIONS += mysql
|
||||
endif
|
||||
ifeq ($(VERSION),$(filter 5.5 5.6 7.0 7.1 7.2 latest, $(VERSION)))
|
||||
ifeq ($(VERSION),$(filter 5.5 5.6 7.0 7.1 latest, $(VERSION)))
|
||||
# Add OPCache check to PHP version with Zend OPCache.
|
||||
EXTENSIONS += OPcache
|
||||
endif
|
||||
|
||||
+1
-3
@@ -10,6 +10,7 @@ For more production-like environments, you might want to choose an [image *witho
|
||||
|
||||
## Available tags and `Dockerfile` links
|
||||
- [`latest` (_dev/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/Dockerfile)
|
||||
(**NOTE**: this is actually built on top of PHP 7.1 as XDebug is not yet available for PHP 7.2!)
|
||||
- [`5.5` (_dev/5.5/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/5.5/Dockerfile)
|
||||
- [`5.5-apache` (_dev/5.5/apache/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/5.5/apache/Dockerfile)
|
||||
- [`5.5-fpm` (_dev/5.5/fpm/Dockerfile_)](https://github.com/Chialab/docker-php/blob/master/dev/5.5/fpm/Dockerfile)
|
||||
@@ -22,9 +23,6 @@ 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