Fix installing gRPC on Alpine 3.7/3.8 and Stretch (#726)

This commit is contained in:
Michele Locati 2023-04-12 10:56:41 +02:00 committed by GitHub
parent 211f97e73f
commit baadbc2c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2742,6 +2742,15 @@ installRemoteModule() {
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=1.33.1
else
case "$DISTRO_VERSION" in
debian@8)
installRemoteModule_version=1.46.3
;;
alpine@3.7 | alpine@3.8 | debian@9) # With newer version: "This package requires GCC 7 or higher"
installRemoteModule_version=1.52.1
;;
esac
fi
fi
if test -z "$installRemoteModule_version" || test "$installRemoteModule_version" = 1.35.0; then
@ -2751,13 +2760,6 @@ installRemoteModule() {
;;
esac
fi
if test -z "$installRemoteModule_version"; then
case "$DISTRO_VERSION" in
debian@8)
installRemoteModule_version=1.46.3
;;
esac
fi
;;
http)
if test -z "$installRemoteModule_version"; then