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:
parent
9ddedfd21e
commit
a38d946ba7
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue