I run stable and nightly cargo tools daily and I wanted to have all tools available every day so I created this basic Docker image. It's built daily and if successful, it's pushed to Docker Hub. This guarantees that the image always contains all tools (although possibly slightly older nightly versions).
It can be used to build incrementally and prevent cargo update from re-downloading and rebuilding dependencies.
https://github.com/realcundo/docker-rust-aio
Currently includes:
-
cargocheck,test,build, ... cargo clippy-
cargo fmt(this has been breaking in nightly a lot recently and it's the main reason for this docker image) -
cargo deny(from https://github.com/EmbarkStudios/cargo-deny)
And these linkers:
-
ld.bfdandld.goldfrom Debian Buster -
ld.ldd12.0.0
Feel free to use/fork/send/suggest improvements.