1
|
#!/bin/bash
|
2
|
#Build development environment
|
3
|
docker-compose down
|
4
|
docker-compose build
|
5
|
docker-compose up -d
|
6
|
cat << "EOF"
|
7
|
______ ______ __ __ ______ ______ ______ ______ ______ __ __ __ ______ ______ ______ __ __
|
8
|
/\ ___\/\ __ \/\ "-./ \/\ == /\ __ \/\ ___\/\ ___\/\ == \ /\ \/\ "-.\ \/\ ___\/\__ _/\ __ \/\ \ /\ \
|
9
|
\ \ \___\ \ \/\ \ \ \-./\ \ \ _-\ \ \/\ \ \___ \ \ __\\ \ __< \ \ \ \ \-. \ \___ \/_/\ \\ \ __ \ \ \___\ \ \____
|
10
|
\ \_____\ \_____\ \_\ \ \_\ \_\ \ \_____\/\_____\ \_____\ \_\ \_\ \ \_\ \_\\"\_\/\_____\ \ \_\\ \_\ \_\ \_____\ \_____\
|
11
|
\/_____/\/_____/\/_/ \/_/\/_/ \/_____/\/_____/\/_____/\/_/ /_/ \/_/\/_/ \/_/\/_____/ \/_/ \/_/\/_/\/_____/\/_____/
|
12
|
EOF
|
13
|
docker run --rm --interactive --volume $PWD/website:/app composer install
|