imagick version php7.2 code example
Example: Package 'php-imagick' has no installation candidate
RUN apt-get update && apt-get install -y \
libmagickwand-dev --no-install-recommends \
&& pecl install imagick \
&& docker-php-ext-enable imagick