diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh index 3e0bc4666ef..d62221a7b77 100755 --- a/ci/test/01_base_install.sh +++ b/ci/test/01_base_install.sh @@ -37,7 +37,7 @@ if [ -n "${APT_LLVM_V}" ]; then ) fi -if [[ $CI_IMAGE_NAME_TAG == *alpine* ]]; then +if command -v apk >/dev/null 2>&1; then ${CI_RETRY_EXE} apk update # shellcheck disable=SC2086 ${CI_RETRY_EXE} apk add --no-cache $CI_BASE_PACKAGES $PACKAGES