1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Less verbose apt, please

This commit is contained in:
Michele Locati 2019-12-12 12:24:08 +01:00
parent ffdd0ac53d
commit 3f1b4452f0
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B

View file

@ -528,8 +528,8 @@ buildRequiredPackageLists () {
apk update
;;
debian)
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -y
DEBIAN_FRONTEND=noninteractive apt-get update -q
DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -y -q
;;
esac
if test -n "$buildRequiredPackageLists_persistent"; then
@ -603,7 +603,7 @@ installRequiredPackages () {
apk add $PACKAGES_PERSISTENT $PACKAGES_VOLATILE
;;
debian)
DEBIAN_FRONTEND=noninteractive apt-get install -y $PACKAGES_PERSISTENT $PACKAGES_VOLATILE
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y $PACKAGES_PERSISTENT $PACKAGES_VOLATILE
;;
esac
}