From 1560e9a21e4774a46b3beccbe48e41851ae9f119 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 14 Jan 2021 15:29:26 +0100 Subject: [PATCH] Instruct composer to not use cache when building pickle ...lest save some space in the final Docker image... Test: xdebug --- install-php-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-php-extensions b/install-php-extensions index 2e6d30d..048f56d 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2093,7 +2093,7 @@ buildPickle() { curl -sSLf https://getcomposer.org/installer | php -- --quiet --install-dir=. --filename=composer --1 printf 'done.\n' 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 'Building... ' php -d phar.readonly=0 box.phar build