Add cargo-audit support
This commit is contained in:
parent
7119ebae22
commit
14ff0ce4bf
|
@ -113,6 +113,10 @@ ENV OPENSSL_DIR=/usr/local/musl/ \
|
|||
# libraries needed by the most popular and common Rust crates, to avoid
|
||||
# everybody needing to build them manually.)
|
||||
|
||||
# Install some useful Rust tools from source. This will use the static linking
|
||||
# toolchain, but that should be OK.
|
||||
RUN cargo install -f cargo-audit
|
||||
|
||||
# Expect our source code to live in /home/rust/src. We'll run the build as
|
||||
# user `rust`, which will be uid 1000, gid 1000 outside the container.
|
||||
WORKDIR /home/rust/src
|
||||
|
|
|
@ -54,6 +54,7 @@ This image also supports the following extra goodies:
|
|||
|
||||
- Basic compilation for `armv7` using `musl-libc`. Not all libraries are supported at the moment, however.
|
||||
- [`mdbook`][mdbook] for building searchable HTML documentation from Markdown files. Build manuals to use alongside your `cargo doc` output!
|
||||
- [`cargo audit`][audit] to check your Rust project for known security issues.
|
||||
|
||||
## Making OpenSSL work
|
||||
|
||||
|
@ -175,6 +176,7 @@ Either the [Apache 2.0 license](./LICENSE-APACHE.txt), or the
|
|||
[MIT license](./LICENSE-MIT.txt).
|
||||
|
||||
[Alpine Linux container]: https://hub.docker.com/_/alpine/
|
||||
[audit]: https://github.com/RustSec/cargo-audit
|
||||
[mdbook]: https://github.com/rust-lang-nursery/mdBook
|
||||
[musl-libc]: http://www.musl-libc.org/
|
||||
[musl-gcc]: http://www.musl-libc.org/how.html
|
||||
|
|
Loading…
Reference in a new issue