From b5214bc618ab85d8ee0f037479f0df75c5b3cf9d Mon Sep 17 00:00:00 2001 From: Marcus Bitzl Date: Wed, 13 May 2020 09:22:17 +0200 Subject: [PATCH] Add cargo deb support --- Dockerfile | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3024b4c..be81625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -156,6 +156,7 @@ ENV OPENSSL_DIR=/usr/local/musl/ \ # 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-deb && \ cargo install -f mdbook-graphviz && \ rm -rf /home/rust/.cargo/registry/ diff --git a/README.md b/README.md index d55c3ba..9559a92 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,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] and `mdbook-graphviz` 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. +- [`cargo deb`][deb] to build Debian packages ## Making OpenSSL work @@ -219,6 +220,7 @@ Either the [Apache 2.0 license](./LICENSE-APACHE.txt), or the [Alpine Linux container]: https://hub.docker.com/_/alpine/ [audit]: https://github.com/RustSec/cargo-audit +[deb]: https://github.com/mmstick/cargo-deb [mdbook]: https://github.com/rust-lang-nursery/mdBook [musl-libc]: http://www.musl-libc.org/ [musl-gcc]: http://www.musl-libc.org/how.html