checking out directly into /src

This commit is contained in:
Mike Aizatsky 2016-10-19 10:02:53 -07:00
parent e3028b4705
commit 680fc8844e
2 changed files with 4 additions and 6 deletions

View File

@ -18,9 +18,7 @@ FROM ossfuzz/base-libfuzzer
MAINTAINER mmoroz@chromium.org
RUN apt-get install -y make autoconf automake libtool mercurial zlib1g-dev
# Need to create 'work' subdir for nss and nspr sources, because '/src/nss' is
# occupied by oss-fuzz sources checked out using dummy path from Jenkinsfile.
RUN mkdir -p work
RUN hg clone https://hg.mozilla.org/projects/nspr work/nspr
RUN hg clone https://hg.mozilla.org/projects/nss work/nss
RUN hg clone https://hg.mozilla.org/projects/nspr nspr
RUN hg clone https://hg.mozilla.org/projects/nss nss
COPY build.sh fuzzers/* /src/

View File

@ -16,7 +16,7 @@
################################################################################
# Build the library.
cd work/nss
cd /src/nss
make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 ZDEFS_FLAG= clean nss_build_all
cd ..