Use custom rust nightly image with cargo-cov and clippy pre-installed

This commit is contained in:
Michael Vines
2018-07-11 22:49:23 -06:00
committed by Greg Fitzgerald
parent 350cf62b90
commit 84c28a077a
5 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,3 @@
FROM rustlang/rust:nightly
RUN cargo install --force clippy cargo-cov

View File

@ -0,0 +1,6 @@
Docker image containing rust nightly and some preinstalled crates used in CI.
This image may be manually updated by running `./build.sh` if you are a member
of the [Solana Labs](https://hub.docker.com/u/solanalabs/) Docker Hub
organization, but it is also automatically updated periodically by
[this automation](https://buildkite.com/solana-labs/solana-ci-docker-rust-nightly).

View File

@ -0,0 +1,6 @@
#!/bin/bash -ex
cd "$(dirname "$0")"
docker build -t solanalabs/rust-nightly .
docker push solanalabs/rust-nightly