Instruct composer to not use cache when building pickle

...lest save some space in the final Docker image...

Test: xdebug
pull/252/head
Michele Locati 2021-01-14 15:29:26 +01:00
parent 641ec6a75b
commit 1560e9a21e
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 1 deletions

View File

@ -2093,7 +2093,7 @@ buildPickle() {
curl -sSLf https://getcomposer.org/installer | php -- --quiet --install-dir=. --filename=composer --1 curl -sSLf https://getcomposer.org/installer | php -- --quiet --install-dir=. --filename=composer --1
printf 'done.\n' printf 'done.\n'
printf 'Installing composer dependencies... ' printf 'Installing composer dependencies... '
./composer install --no-dev --no-progress --no-suggest --optimize-autoloader --ignore-platform-reqs --quiet ./composer install --no-dev --no-progress --no-suggest --optimize-autoloader --ignore-platform-reqs --quiet --no-cache
printf 'done.\n' printf 'done.\n'
printf 'Building... ' printf 'Building... '
php -d phar.readonly=0 box.phar build php -d phar.readonly=0 box.phar build