Merge pull request #1425 from suheb/fix/imagemagick

Run apt-get update before installing imagemagick in workspace
This commit is contained in:
Yu-Lung Shao (Allen) 2018-03-15 09:26:00 +08:00 committed by GitHub
commit 188a7d7624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -603,7 +603,8 @@ USER root
ARG INSTALL_IMAGEMAGICK=false
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y --force-yes imagemagick php-imagick \
apt-get update -yqq \
&& apt-get install -y --force-yes imagemagick php-imagick \
;fi
#####################################

View File

@ -680,7 +680,8 @@ USER root
ARG INSTALL_IMAGEMAGICK=false
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y --force-yes imagemagick php-imagick \
apt-get update -yqq \
&& apt-get install -y --force-yes imagemagick php-imagick \
;fi
#####################################

View File

@ -693,7 +693,8 @@ USER root
ARG INSTALL_IMAGEMAGICK=false
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y --force-yes imagemagick php-imagick \
apt-get update -yqq \
&& apt-get install -y --force-yes imagemagick php-imagick \
;fi
#####################################

View File

@ -688,7 +688,8 @@ USER root
ARG INSTALL_IMAGEMAGICK=false
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get install -y --force-yes imagemagick php-imagick \
apt-get update -yqq \
&& apt-get install -y --force-yes imagemagick php-imagick \
;fi
#####################################