Sign inSign up

jimmycuadra/rust

By jimmycuadra

•Updated over 8 years ago

Deprecated image. Use https://hub.docker.com/_/rust/ instead.

Image
23

10K+

jimmycuadra/rust repository overview

DEPRECATION NOTICE

There is now an official Docker image for Rust, so this one is no longer maintained.

⁠docker-rust

Public trusted images available on:

This repository is used to build a Docker image for the Rust programming language and a few supporting tools. The image includes rustc, rustdoc, cargo, git, SSL certificates, and build essentials, so it should be able to run cargo build on most projects out of the box. The working directory inside the container is /source. You can use this path to mount a Cargo project from the host machine.

⁠Usage

The following command will drop you into a Bash shell with the current directory on the host shared. From there you can run rustc, rustdoc, and cargo as you please.

docker run -it --rm -v $(pwd):/source jimmycuadra/rust

Build a release without an interactive shell:

docker run --rm -v $(pwd):/source jimmycuadra/rust cargo build --release

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

sha256:87123f46e…

Size

286.4 MB

Last updated

over 8 years ago

docker pull jimmycuadra/rust