diff --git a/projects/tremor/Dockerfile b/projects/tremor/Dockerfile index 21cda081c..d190c225a 100644 --- a/projects/tremor/Dockerfile +++ b/projects/tremor/Dockerfile @@ -16,8 +16,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libogg-dev libtool pkg-config wget -RUN git clone https://gitlab.xiph.org/xiph/ogg.git -RUN git clone https://gitlab.xiph.org/xiph/tremor.git +RUN git clone --depth 1 https://gitlab.xiph.org/xiph/ogg.git +RUN git clone --depth 1 https://gitlab.xiph.org/xiph/tremor.git RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/vorbis decode_corpus WORKDIR tremor COPY decode_fuzzer.cc $SRC/tremor/ diff --git a/projects/vorbis/Dockerfile b/projects/vorbis/Dockerfile index ae9ed5d86..80523ce77 100644 --- a/projects/vorbis/Dockerfile +++ b/projects/vorbis/Dockerfile @@ -16,8 +16,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config wget -RUN git clone https://gitlab.xiph.org/xiph/ogg.git -RUN git clone https://gitlab.xiph.org/xiph/vorbis.git +RUN git clone --depth 1 https://gitlab.xiph.org/xiph/ogg.git +RUN git clone --depth 1 https://gitlab.xiph.org/xiph/vorbis.git RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/ogg decode_corpus RUN svn export --force https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/vorbis decode_corpus # TODO: remove `people.xiph.org` lines once upstream build script is updated