diff options
author | AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> | 2021-12-27 22:18:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 22:18:20 +0000 |
commit | 078bc3440f9cf8834093c1d6c0032356ebcf44a5 (patch) | |
tree | f828fc920e4d55ada9cbd239659efb52b9562374 /projects/libfido2 | |
parent | f64134b0b3c2b27a4283e55581d41d83d3c3a64f (diff) |
[draft] [libfido2] Make shallow clones (#7068)
Diffstat (limited to 'projects/libfido2')
-rw-r--r-- | projects/libfido2/Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/libfido2/Dockerfile b/projects/libfido2/Dockerfile index e7d8a6a6..6c620763 100644 --- a/projects/libfido2/Dockerfile +++ b/projects/libfido2/Dockerfile @@ -17,10 +17,10 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libtool RUN apt-get install -y cmake libudev-dev pkg-config chrpath -RUN git clone --branch v0.8.0 https://github.com/PJK/libcbor -RUN git clone --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl -RUN git clone --branch v1.2.11 https://github.com/madler/zlib -RUN git clone https://github.com/Yubico/libfido2 +RUN git clone --depth 1 --branch v0.8.0 https://github.com/PJK/libcbor +RUN git clone --depth 1 --branch OpenSSL_1_1_1-stable https://github.com/openssl/openssl +RUN git clone --depth 1 --branch v1.2.11 https://github.com/madler/zlib +RUN git clone --depth 1 https://github.com/Yubico/libfido2 # CIFuzz will replace the libfido directory so put the corpus outside ADD https://storage.googleapis.com/yubico-libfido2/corpus.tgz corpus.tgz WORKDIR libfido2 |