Sync Docker and composer PHP versions in new projects (#190)
This commit is contained in:
parent
1364979af6
commit
aba3961ff2
@ -21,6 +21,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
|||||||
composer create-project "$SKELETON $SYMFONY_VERSION" tmp --stability="$STABILITY" --prefer-dist --no-progress --no-interaction --no-install
|
composer create-project "$SKELETON $SYMFONY_VERSION" tmp --stability="$STABILITY" --prefer-dist --no-progress --no-interaction --no-install
|
||||||
|
|
||||||
cd tmp
|
cd tmp
|
||||||
|
composer require "php:>=$PHP_VERSION"
|
||||||
composer config --json extra.symfony.docker 'true'
|
composer config --json extra.symfony.docker 'true'
|
||||||
cp -Rp . ..
|
cp -Rp . ..
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user