[openssl] Fix build (#10063)

Fixes the OpenSSL build by downloading the corpora submodule.

Fixes https://github.com/openssl/openssl/issues/20712
This commit is contained in:
Guido Vranken 2023-04-12 20:57:27 +02:00 committed by GitHub
parent a339ef28de
commit 380cf4b6fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@
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 RUN apt-get update && apt-get install -y make
RUN git clone --depth 1 https://github.com/openssl/openssl.git RUN git clone --depth 1 https://github.com/openssl/openssl.git
RUN cd $SRC/openssl/ && git submodule update --init fuzz/corpora
RUN git clone --depth 1 --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl.git openssl111 RUN git clone --depth 1 --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl.git openssl111
RUN git clone --depth 1 --branch openssl-3.0 https://github.com/openssl/openssl.git openssl30 RUN git clone --depth 1 --branch openssl-3.0 https://github.com/openssl/openssl.git openssl30
WORKDIR openssl WORKDIR openssl