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.
This commit is contained in:
daviesrob 2020-12-18 18:21:36 +00:00 committed by GitHub
parent f359fd010f
commit 6ddb2b7bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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