https://github.com/guangie88/rs-cider
Dockerfile to build Rust + Cargo with useful formatting, linting and coverage tools in stable, beta and nightly
https://github.com/guangie88/rs-cider
cicd dockerfile rust
Last synced: 25 days ago
JSON representation
Dockerfile to build Rust + Cargo with useful formatting, linting and coverage tools in stable, beta and nightly
- Host: GitHub
- URL: https://github.com/guangie88/rs-cider
- Owner: guangie88
- License: mit
- Created: 2018-06-04T12:08:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T02:55:05.000Z (over 7 years ago)
- Last Synced: 2025-02-28T20:26:31.035Z (over 1 year ago)
- Topics: cicd, dockerfile, rust
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `rs-cider`
Dockerfile to build Rust + Cargo with useful formatting, linting and coverage
tools in stable, beta and nightly.
Docker Hub link:
[](https://travis-ci.org/guangie88/rs-cider)
## Description
The purpose of the Docker image is to create a "Swiss Army knife" for automated
CI/CD purposes for Rust environment.
## Included stuff
- `rustfmt-preview` (`cargo fmt`) on all stable, beta, nightly
- Installed via `rustup component add rustfmt-preview`
- Usage:
- `cargo fmt`
- `cargo +beta fmt`
- `cargo +nightly fmt`
- `cargo clippy` only on nightly
- Installed via `rustup component add clippy`
- `cargo clippy`
- `cargo tarpaulin` via stable
- Installed via `cargo install cargo-tarpaulin`
- `cargo tarpaulin`
- `diesel` via stable
- Installed via `cargo install diesel`
- `diesel`
## Fun fact
The short form `rs-cider` is actually a
[_portmanteau_](https://en.wikipedia.org/wiki/Portmanteau) for Rust
**CI**/C**D**-**er**, where CI/CD stands for continuous integration and
continuous delivery, and the "-er" is similar to do-er, play-er, mak-er, etc.