mirror of https://github.com/google/oss-fuzz.git
[firefox] Install dependencies in Dockerfile (#4271)
This commit is contained in:
parent
3d7dc183d1
commit
d51f86a4e4
|
@ -15,14 +15,16 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libstdc++6 \
|
||||
python \
|
||||
gawk \
|
||||
software-properties-common
|
||||
RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
|
||||
libstdc++6
|
||||
RUN git clone --depth 1 https://github.com/mozilla/gecko-dev mozilla-central
|
||||
RUN git clone --depth 1 https://github.com/mozillasecurity/fuzzdata
|
||||
WORKDIR mozilla-central
|
||||
COPY build.sh target.c *.options mozconfig.* $SRC/
|
||||
# Install dependencies.
|
||||
ENV SHELL /bin/bash
|
||||
RUN ./mach bootstrap --no-interactive --application-choice browser
|
||||
|
|
|
@ -42,9 +42,7 @@ FUZZ_TARGETS=(
|
|||
export MOZ_OBJDIR=$WORK/obj-fuzz
|
||||
export MOZCONFIG=$SRC/mozconfig.$SANITIZER
|
||||
|
||||
# Install dependencies.
|
||||
export SHELL=/bin/bash
|
||||
./mach bootstrap --no-interactive --application-choice browser
|
||||
|
||||
# Skip patches for now
|
||||
rm tools/fuzzing/libfuzzer/patches/*.patch
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
mk_add_options AUTOCLOBBER=1
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-elf-hack
|
||||
ac_add_options --disable-jemalloc
|
||||
|
|
Loading…
Reference in New Issue