use CI build config set to update PHP_VERSION in .env
This commit is contained in:
parent
5a5dceb967
commit
bedb663a8e
|
@ -6,6 +6,7 @@ set -e
|
|||
#### Build the Docker Images
|
||||
if [ -n "${PHP_VERSION}" ]; then
|
||||
cp env-example .env
|
||||
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env
|
||||
sed -i -- 's/=false/=true/g' .env
|
||||
cat .env
|
||||
docker-compose build
|
||||
|
|
Loading…
Reference in New Issue