NSenaud / docker-rust

A Docker image for Rust.

Home Page:https://hub.docker.com/r/jimmycuadra/rust/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 path /source is a volume where you can 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

License

MIT

About

A Docker image for Rust.

https://hub.docker.com/r/jimmycuadra/rust/

License:MIT License