Run apt-get update before installing imagemagick in workspace
Signed-off-by: Suhaib Khan <suheb.work@gmail.com>
This commit is contained in:
parent
c4aef8e901
commit
ce8bdb91cf
@ -603,7 +603,8 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
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
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -680,7 +680,8 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
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
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -693,7 +693,8 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
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
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -666,7 +666,8 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
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
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user