aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authordaviesrob <rmd@sanger.ac.uk>2020-12-18 18:21:36 +0000
committerGitHub <noreply@github.com>2020-12-18 10:21:36 -0800
commit6ddb2b7bd06de032609600eb35ccd34ae6d881bd (patch)
tree22975263aeb3cfa1a82c7305a006a50172586e24 /projects
parentf359fd010f6910c4d9a81184884ad2a953e49b0f (diff)
downloadoss-fuzz-6ddb2b7bd06de032609600eb35ccd34ae6d881bd.tar.gz
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.
Diffstat (limited to 'projects')
-rw-r--r--projects/htslib/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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/