aboutsummaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-03-22 12:29:23 -0700
committerGitHub <noreply@github.com>2021-03-22 12:29:23 -0700
commite34a03385fc4ecf33bd9cfd426b9b587d2a68575 (patch)
tree0511cab99240360c66890f323c7744d639f8f3c1 /infra
parent0413793d5e6bcbd7ae145bc3a229e37d9df9df63 (diff)
downloadoss-fuzz-e34a03385fc4ecf33bd9cfd426b9b587d2a68575.tar.gz
Delete unneeded files from cargo-fuzz install (100MB) (#5436)
Diffstat (limited to 'infra')
-rw-r--r--infra/base-images/base-builder/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile
index ad7ab08a9..cf5d71dfe 100644
--- a/infra/base-images/base-builder/Dockerfile
+++ b/infra/base-images/base-builder/Dockerfile
@@ -89,7 +89,7 @@ ENV CARGO_HOME=/rust
ENV RUSTUP_HOME=/rust/rustup
ENV PATH=$PATH:/rust/bin
RUN curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal
-RUN cargo install cargo-fuzz
+RUN cargo install cargo-fuzz && rm -rf /rust/registry
# Needed to recompile rust std library for MSAN
RUN rustup component add rust-src --toolchain nightly
# Set up custom environment variable for source code copy for coverage reports