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