php-fpm and workspace replace base image (#2025)
* php-fpm and workspace replace base image * Aerospike PHP 5.6.40 Debian 9.6 is not supported, travis-ci build by pass.
This commit is contained in:
parent
8f6923531f
commit
cf6a9ba2c9
@ -14,7 +14,8 @@
|
||||
|
||||
ARG LARADOCK_PHP_VERSION
|
||||
|
||||
FROM laradock/php-fpm:2.2-${LARADOCK_PHP_VERSION}
|
||||
# FROM laradock/php-fpm:2.2-${LARADOCK_PHP_VERSION}
|
||||
FROM letsdockerize/laradock-php-fpm:2.3-${LARADOCK_PHP_VERSION}
|
||||
|
||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||
|
||||
|
@ -15,6 +15,11 @@ if [ -n "${PHP_VERSION}" ]; then
|
||||
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env
|
||||
sed -i -- 's/=false/=true/g' .env
|
||||
sed -i -- 's/PHPDBG=true/PHPDBG=false/g' .env
|
||||
if [ "${PHP_VERSION}" == "5.6" ]; then
|
||||
# Aerospike C Client SDK 4.0.7, Debian 9.6 is not supported
|
||||
# https://github.com/aerospike/aerospike-client-php5/issues/145
|
||||
sed -i -- 's/PHP_FPM_INSTALL_AEROSPIKE=true/PHP_FPM_INSTALL_AEROSPIKE=false/g' .env
|
||||
fi
|
||||
cat .env
|
||||
docker-compose build ${BUILD_SERVICE}
|
||||
docker images
|
||||
|
@ -14,7 +14,8 @@
|
||||
|
||||
ARG LARADOCK_PHP_VERSION
|
||||
|
||||
FROM laradock/workspace:2.2-${LARADOCK_PHP_VERSION}
|
||||
# FROM laradock/workspace:2.2-${LARADOCK_PHP_VERSION}
|
||||
FROM letsdockerize/laradock-workspace:2.3-${LARADOCK_PHP_VERSION}
|
||||
|
||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user