diff options
author | Max Dymond <cmeister2@gmail.com> | 2018-04-15 23:58:27 +0100 |
---|---|---|
committer | Abhishek Arya <inferno@chromium.org> | 2018-04-15 15:58:27 -0700 |
commit | f74e026685fab6c1fe04a31b83efa8e13d19d6fb (patch) | |
tree | 1ebdffbceb39804b7b1bda7397e0275281fd8a02 /projects/curl | |
parent | aeee0fdc623995e5e47e08ce10f116c77f8b3e56 (diff) | |
download | oss-fuzz-f74e026685fab6c1fe04a31b83efa8e13d19d6fb.tar.gz |
curl: Download dependencies in Docker using the curl-fuzzer scripts (#1316)
curl-fuzzer would like to use a script to define the dependencies
downloaded as part of oss-fuzz image generation, so that only one
repository needs updating in order to get future fuzzing builds running.
Diffstat (limited to 'projects/curl')
-rw-r--r-- | projects/curl/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/curl/Dockerfile b/projects/curl/Dockerfile index 5969a9f16..e316e3c76 100644 --- a/projects/curl/Dockerfile +++ b/projects/curl/Dockerfile @@ -16,9 +16,12 @@ FROM gcr.io/oss-fuzz-base/base-builder MAINTAINER dvyukov@google.com -RUN apt-get update && apt-get install -y make autoconf automake libtool libssl-dev zlib1g-dev RUN git clone --depth 1 https://github.com/curl/curl.git /src/curl RUN git clone --depth 1 https://github.com/curl/curl-fuzzer.git /src/curl_fuzzer + +# Use curl-fuzzer's scripts to get latest dependencies. +RUN /src/curl_fuzzer/scripts/ossfuzzdeps.sh + WORKDIR /src/curl_fuzzer COPY build.sh $SRC/ |