Make graphicsmagick clones from sourceforge more resillient (#1201)

retry in the event of failures so that transient issues don't prevent clones
This commit is contained in:
Alex Gaynor 2018-03-01 09:54:36 -05:00 committed by Abhishek Arya
parent b592556183
commit 26402aa833
1 changed files with 3 additions and 1 deletions

View File

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