From a980e27da6c6b629301844637e6139053a49e842 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Wed, 15 Jan 2020 09:23:39 -0500 Subject: [PATCH] Add `cargo-deny` to image --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3d13875..b93603d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -134,7 +134,11 @@ ENV OPENSSL_DIR=/usr/local/musl/ \ # Install some useful Rust tools from source. This will use the static linking # toolchain, but that should be OK. +# +# We include cargo-audit for compatibility with earlier versions of this image, +# but cargo-deny provides a super-set of cargo-audit's features. RUN cargo install -f cargo-audit && \ + cargo install -f cargo-deny && \ rm -rf /home/rust/.cargo/registry/ # Expect our source code to live in /home/rust/src. We'll run the build as