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

Fix installing datadog_trace on Alpine 3.11 and 3.12 (#945)

This commit is contained in:
Michele Locati 2024-07-29 12:52:10 +02:00 committed by GitHub
parent 9ddedfd21e
commit a38d946ba7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2895,6 +2895,16 @@ installRemoteModule() {
if test $PHP_MAJMIN_VERSION -lt 700; then
installRemoteModule_version=0.75.0
fi
if test -z "$installRemoteModule_version"; then
case "$DISTRO" in
alpine)
if test $DISTRO_MAJMIN_VERSION -le 312; then
# cc is not supported due to a memcmp related bug
installRemoteModule_version=1.1.0
fi
;;
esac
fi
else
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
fi