99d2d22804
Added composer option --ignore-platform-reqs in order to avoid platform missing requirements (like ext-curl and so) https://getcomposer.org/doc/03-cli.md Change-Id: I152f817f3665651d5f3e6ffde38590bfdbdadca3
13 lines
301 B
Bash
13 lines
301 B
Bash
#!/bin/bash -xe
|
|
# Build a Laravel/PHP distribution using composer.
|
|
|
|
cat >bootstrap/environment.php <<EOF
|
|
<?php
|
|
\$env = \$app->detectEnvironment(function()
|
|
{
|
|
return 'dev';
|
|
});
|
|
EOF
|
|
curl -s https://getcomposer.org/installer | /usr/bin/php
|
|
php composer.phar install --prefer-dist --ignore-platform-reqs
|