Add xhprof

This commit is contained in:
cytopia
2023-01-01 13:04:35 +01:00
parent 26c4fb5419
commit 3770ac24ff
50 changed files with 425 additions and 14 deletions

View File

@@ -97,6 +97,10 @@ get_modules_from_image() {
modules="$( printf "%s\n%s\n" "${modules}" "phalcon" )";
fi
if docker run --rm --platform "${ARCH}" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'xhprof.so' | grep -q xhprof.so; then
modules="$( printf "%s\n%s\n" "${modules}" "xhprof" )";
fi
# Sort alphabetically
modules="$( echo "${modules}" | sort -fu )"