From 838f8615b58287ab4f72ecb9c6d684cf8145b63c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 12 Jul 2021 16:48:27 +0200 Subject: [PATCH 1/2] Check that wget works --- scripts/ci-markused-alpine | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci-markused-alpine b/scripts/ci-markused-alpine index ba38553..3489dac 100755 --- a/scripts/ci-markused-alpine +++ b/scripts/ci-markused-alpine @@ -4,9 +4,11 @@ set -o errexit set -o nounset +wget -qO /dev/null https://www.google.com && echo wget works apk update apk del libzip apk add ebook-tools # <- uses libzip CI=true ./install-php-extensions zip # <- uses libzip apk del ebook-tools php --ri zip +wget -qO /dev/null https://www.google.com && echo wget works From 8a67ef60aea135c1cb20f3a9c35f7e97cfbfae14 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 12 Jul 2021 16:53:47 +0200 Subject: [PATCH 2/2] Upgrade APK packages when we install some APK package --- install-php-extensions | 1 + 1 file changed, 1 insertion(+) diff --git a/install-php-extensions b/install-php-extensions index 2d8ec5b..7614e60 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -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