Merge pull request #1425 from suheb/fix/imagemagick
Run apt-get update before installing imagemagick in workspace
This commit is contained in:
commit
188a7d7624
@ -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
|
||||
|
||||
#####################################
|
||||
|
@ -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
|
||||
|
||||
#####################################
|
||||
|
@ -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
|
||||
|
||||
#####################################
|
||||
|
@ -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
|
||||
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user