mirror of https://github.com/google/oss-fuzz.git
[vorbis] Use shallow clone (#4259)
* [vorbis] Use shallow clone * [tremor] Use shallow clone
This commit is contained in:
parent
3707eb201b
commit
2f4da4e8da
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
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 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 --depth 1 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/tremor.git
|
||||||
RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/vorbis decode_corpus
|
RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/vorbis decode_corpus
|
||||||
WORKDIR tremor
|
WORKDIR tremor
|
||||||
COPY decode_fuzzer.cc $SRC/tremor/
|
COPY decode_fuzzer.cc $SRC/tremor/
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
FROM gcr.io/oss-fuzz-base/base-builder
|
||||||
RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config wget
|
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 --depth 1 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/vorbis.git
|
||||||
RUN svn export https://github.com/mozillasecurity/fuzzdata.git/trunk/samples/ogg decode_corpus
|
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
|
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
|
# TODO: remove `people.xiph.org` lines once upstream build script is updated
|
||||||
|
|
Loading…
Reference in New Issue