Support specific version

This commit is contained in:
Mateusz Sip
2017-10-26 14:51:56 +02:00
parent 27429c7c3a
commit 0ab47a2b75
3 changed files with 8 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ fi
if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
# The first time volumes are mounted, the project needs to be recreated
if [ ! -f composer.json ]; then
composer create-project "symfony/skeleton" tmp --stability=$STABILITY --prefer-dist --no-progress --no-interaction
composer create-project "symfony/skeleton $VERSION" tmp --stability=$STABILITY --prefer-dist --no-progress --no-interaction
cp -Rp tmp/. .
rm -Rf tmp/
elif [ "$APP_ENV" != 'prod' ]; then