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

Upgrade APK packages when we install some APK package

This commit is contained in:
Michele Locati 2021-07-12 16:53:47 +02:00
parent 838f8615b5
commit 8a67ef60ae
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B

View file

@ -1192,6 +1192,7 @@ installRequiredPackages() {
case "$DISTRO" in
alpine)
apk add $IPE_APK_FLAGS $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE
apk upgrade
;;
debian)
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq -y $PACKAGES_PERSISTENT_NEW $PACKAGES_VOLATILE