Merge pull request #95 from bitzl/add-cargo-deb

Add cargo deb support
This commit is contained in:
Eric Kidd 2020-05-17 08:44:40 -04:00 committed by GitHub
commit 5437f09ff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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/

View file

@ -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