On copied the script install-php-extensions and modified it our side to support libmagickwand. We added imagemagick-dev in persistent instead of volatile.
imagick@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent imagemagick libgomp imagemagick-dev"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile"
if [ $DISTRO_MAJMIN_VERSION -ge 319 ]; then
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ghostscript libheif libjxl libraw librsvg"
fi
;;
imagick@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent imagemagick ^libmagickwand-6.q16-[0-9]+$ ^libmagickcore-6.q16-[0-9]+-extra$"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmagickwand-dev"
;;
Unfortunately we lose update from this repos with this strategy.
On copied the script
install-php-extensions
and modified it our side to support libmagickwand. We added imagemagick-dev in persistent instead of volatile.Unfortunately we lose update from this repos with this strategy.
This may not be the ideal how we did it but we didn't know how to support libmagickwand with a better way. Could we install it via https://github.com/mlocati/docker-php-extension-installer?tab=readme-ov-file#installing-specific-versions-of-an-extension ? Can libmagickwand can be added in this repository ?
Thanks