This image extends the standard rust image to simplify some common usage scenarios.
coverRuns all the tests in the project and produces a coverage report in target/kcov/index.html.
» docker run --privileged -v `pwd`:/src ajdz/rust cover
This invokes the cover recipe in the Justfile which in turn runs the following pipeline:
» cargo test --target=x86_64-unknown-linux-gnu --no-run --message-format=json
| jq -r 'select(.profile.test == true) | .filenames[]'
| xargs -n 1 kcov --exclude-pattern=/usr/local/cargo,/usr/lib --verify target/kcov
sanitize SANRuns sanitizers (see this PR) for details.
» docker run --privileged -v `pwd`:/src ajdz/rust sanitize address
This invokes the sanitize recipe in the Justfile which in turn runs the following:
» RUSTFLAGS="-Z sanitizer=address" rustup run nightly cargo test --target x86_64-unknown-linux-gnu
Content type
Image
Digest
Size
1.1 GB
Last updated
about 8 years ago
docker pull ajdz/rust