Эх сурвалжийг харах

Merge pull request #1425 from suheb/fix/imagemagick

Run apt-get update before installing imagemagick in workspace
Yu-Lung Shao (Allen) 7 жил өмнө
parent
commit
188a7d7624

+ 2 - 1
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
 
 #####################################

+ 2 - 1
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
 
 #####################################

+ 2 - 1
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
 
 #####################################

+ 2 - 1
workspace/Dockerfile-72

@@ -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
 
 #####################################