1
|
#!/bin/bash
|
2
|
#Build development environment
|
3
|
docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build -d
|
4
|
|
5
|
cat << "EOF"
|
6
|
______ ______ __ __ ______ ______ ______ ______ ______ __ __ __ ______ ______ ______ __ __
|
7
|
/\ ___\/\ __ \/\ "-./ \/\ == /\ __ \/\ ___\/\ ___\/\ == \ /\ \/\ "-.\ \/\ ___\/\__ _/\ __ \/\ \ /\ \
|
8
|
\ \ \___\ \ \/\ \ \ \-./\ \ \ _-\ \ \/\ \ \___ \ \ __\\ \ __< \ \ \ \ \-. \ \___ \/_/\ \\ \ __ \ \ \___\ \ \____
|
9
|
\ \_____\ \_____\ \_\ \ \_\ \_\ \ \_____\/\_____\ \_____\ \_\ \_\ \ \_\ \_\\"\_\/\_____\ \ \_\\ \_\ \_\ \_____\ \_____\
|
10
|
\/_____/\/_____/\/_/ \/_/\/_/ \/_____/\/_____/\/_____/\/_/ /_/ \/_/\/_/ \/_/\/_____/ \/_/ \/_/\/_/\/_____/\/_____/
|
11
|
EOF
|
12
|
docker-compose exec php-fpm composer config extra.symfony.allow-contrib true --no-interaction --working-dir=/var/www/symfony
|
13
|
docker-compose exec php-fpm composer update --no-interaction --working-dir=/var/www/symfony
|
14
|
docker-compose exec php-fpm composer install --no-interaction --working-dir=/var/www/symfony
|