Sign inSign up

bradqwood/rust-build-docker

By bradqwood

•Updated about 6 years ago

Gitlab CI container for building rust projects

Image
0

1.2K

bradqwood/rust-build-docker repository overview

⁠rust-build-docker

This builds a Rust project Docker container designed for use in Gitlab CI for Rust projects.

⁠Contents

It is derived from the official rust image and includes:

  • rustup
  • cargo
  • rustfmt
  • clippy
  • cargo-kcov (and the underlying kcov binary)
  • cargo-readme
  • cargo-tree
  • cargo-outdated
  • cargo-tarpaulin
  • just

⁠Usage

To just grab a local copy:

docker pull bradqwood/rust-build-docker:latest

In a gitlab-ci.yml file just set your image like so:

image: bradqwood/rus-build-docker:latest
...

⁠TODO

  • Reduce image size (I've looked at alpine but a number of the build tools won't compile against musl c lib)

⁠Credits

Tag summary

Content type

Image

Digest

Size

563.3 MB

Last updated

about 6 years ago

docker pull bradqwood/rust-build-docker