From 26402aa833888b363d88208e5887ad542977e94e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 1 Mar 2018 09:54:36 -0500 Subject: [PATCH] Make graphicsmagick clones from sourceforge more resillient (#1201) retry in the event of failures so that transient issues don't prevent clones --- projects/graphicsmagick/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/graphicsmagick/Dockerfile b/projects/graphicsmagick/Dockerfile index 2b91510d5..d7d2bfe79 100644 --- a/projects/graphicsmagick/Dockerfile +++ b/projects/graphicsmagick/Dockerfile @@ -17,6 +17,8 @@ FROM gcr.io/oss-fuzz-base/base-builder MAINTAINER alex.gaynor@gmail.com RUN apt-get update && apt-get install -y mercurial -RUN hg clone -v http://hg.code.sf.net/p/graphicsmagick/code graphicsmagick +RUN hg clone -v http://hg.code.sf.net/p/graphicsmagick/code graphicsmagick || \ + hg clone -v http://hg.code.sf.net/p/graphicsmagick/code graphicsmagick || \ + hg clone -v http://hg.code.sf.net/p/graphicsmagick/code graphicsmagick WORKDIR graphicsmagick COPY build.sh $SRC/