Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installing ddtrace on Debian Bookworm and Alpine 3.17 #794

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,6 @@ buildRequiredPackageLists() {
fi
;;
ddtrace@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent curl"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libcurl4-openssl-dev"
if test $DISTRO_MAJMIN_VERSION -ge 1200; then
# Debian bookworm is the minimum version that comes with cargo 1.64.0+
Expand Down Expand Up @@ -2668,12 +2667,18 @@ installRemoteModule() {
if test $DISTRO_MAJMIN_VERSION -lt 317; then
# Alpine 3.17 is the minimum version that comes with cargo 1.64.0+
installRemoteModule_version=0.87.2
elif test $DISTRO_MAJMIN_VERSION -lt 318; then
# Alpine 3.18 is the minimum version that comes with cargo 1.71.0+
installRemoteModule_version=0.89.0
fi
;;
debian)
if test $DISTRO_MAJMIN_VERSION -lt 1200; then
# Debian bookworm is the minimum version that comes with cargo 1.64.0+
installRemoteModule_version=0.87.2
elif test $DISTRO_MAJMIN_VERSION -le 1300; then
# Newer ddtrace versions require cargo 1.71.0+, but bookworm comes with cargo 1.65.0
installRemoteModule_version=0.89.0
fi
;;
esac
Expand Down
Loading