From ce8bdb91cfc345d14cf3b6c44f0ee37f134c5262 Mon Sep 17 00:00:00 2001 From: Suhaib Khan Date: Tue, 13 Mar 2018 11:38:37 +0530 Subject: [PATCH] Run apt-get update before installing imagemagick in workspace Signed-off-by: Suhaib Khan --- workspace/Dockerfile-56 | 3 ++- workspace/Dockerfile-70 | 3 ++- workspace/Dockerfile-71 | 3 ++- workspace/Dockerfile-72 | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index c18b195..8f59dde 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -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 ##################################### diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index 915b9ed..5b616b3 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -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 ##################################### diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 72e6f2b..f71988f 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -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 ##################################### diff --git a/workspace/Dockerfile-72 b/workspace/Dockerfile-72 index bb646df..8e49000 100644 --- a/workspace/Dockerfile-72 +++ b/workspace/Dockerfile-72 @@ -666,7 +666,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 #####################################