add extension imagick installed check

This commit is contained in:
Shao Yu-Lung (Allen)
2021-04-04 20:46:57 +08:00
parent ecdfa174dc
commit ac08bc4364
2 changed files with 4 additions and 2 deletions

View File

@ -772,7 +772,8 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
else \
pecl install imagick; \
fi && \
docker-php-ext-enable imagick \
docker-php-ext-enable imagick; \
php -m | grep -q 'imagick' \
;fi
###########################################################################