From 6ddb2b7bd06de032609600eb35ccd34ae6d881bd Mon Sep 17 00:00:00 2001 From: daviesrob Date: Fri, 18 Dec 2020 18:21:36 +0000 Subject: [PATCH] Add recurse-submodules to htslib clone (#4867) In anticipation of samtools/htslib#929 merge, which will add a submodule, among other changes. This will ensure fuzzing continues to work both before and after the update. --- projects/htslib/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/htslib/Dockerfile b/projects/htslib/Dockerfile index 5735b7b1c..f3b6cd183 100644 --- a/projects/htslib/Dockerfile +++ b/projects/htslib/Dockerfile @@ -16,6 +16,6 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev -RUN git clone --depth 1 https://github.com/samtools/htslib.git htslib +RUN git clone --depth 1 --shallow-submodules --recurse-submodules https://github.com/samtools/htslib.git htslib WORKDIR htslib COPY build.sh $SRC/