Imagick alpine php8 docker code example
Example: docker php-fpm-apline add imagick
RUN apk add imagemagick
RUN apk add imagemagick-dev
RUN apk add --update --no-cache autoconf g++ imagemagick-dev libtool make pcre-dev \
&& pecl install imagick \
&& docker-php-ext-enable imagick \
&& apk del autoconf g++ libtool make pcre-dev