From 9af1d15f4c2ec63554e0f3992e3eae49f65c1990 Mon Sep 17 00:00:00 2001 From: Alexey Kupershtokh Date: Thu, 11 Feb 2021 10:09:49 +0700 Subject: [PATCH] Added more --no-install-recommends --- install-php-extensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 1e4e421..560e909 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1118,7 +1118,7 @@ installRequiredPackages() { apk add $PACKAGES_PERSISTENT $PACKAGES_VOLATILE ;; debian) - DEBIAN_FRONTEND=noninteractive apt-get install -qq -y $PACKAGES_PERSISTENT $PACKAGES_VOLATILE + DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq -y $PACKAGES_PERSISTENT $PACKAGES_VOLATILE ;; esac } @@ -2406,7 +2406,7 @@ cleanup() { case "$DISTRO" in debian) printf '### RESTORING PREVIOUSLY INSTALLED PACKAGES ###\n' - DEBIAN_FRONTEND=noninteractive apt-get install --no-upgrade -qqy $PACKAGES_PREVIOUS + DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --no-upgrade -qqy $PACKAGES_PREVIOUS ;; esac fi