Docker + PHP:8.1.1-FPM how to install imagick php extension?
Solution 1:
RUN apt-get update; \
# Imagick extension
apt-get install -y libmagickwand-dev; \
pecl install imagick; \
docker-php-ext-enable imagick; \
# Success
true