fix: fix the extension cannot install problem.

This commit is contained in:
牟勇 2019-12-05 11:48:27 +08:00
parent 2c9563d2cd
commit c84db7d4d7

View File

@ -590,7 +590,7 @@ USER root
ARG INSTALL_IMAGEMAGICK=false ARG INSTALL_IMAGEMAGICK=false
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y libmagickwand-dev imagemagick && \ apt-get install -y --fix-missing libmagickwand-dev imagemagick && \
pecl install imagick && \ pecl install imagick && \
docker-php-ext-enable imagick \ docker-php-ext-enable imagick \
;fi ;fi