fix apt install fail

This commit is contained in:
mouyong 2019-08-09 13:11:03 +08:00
parent b8a971e634
commit ab3a325ea3
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,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 -f -y libmagickwand-dev imagemagick && \ apt-get install --fix-missing -y libmagickwand-dev imagemagick && \
pecl install imagick && \ pecl install imagick && \
docker-php-ext-enable imagick \ docker-php-ext-enable imagick \
;fi ;fi