Lightweight nightly Rust build including Cargo and GDB
$ docker run --rm -it -v $(pwd):/source octplane/rust
Mount your local source folder to the container and compile & run code inside.
$ rustc hello-world.rs
$ ./hello-world
> Hello World!
The $USER environment variable can be specified, which is used by cargo. The default is root.
$ docker run --rm -it -e USER="John Doe" -v $(pwd):/source octplane/rust
Content type
Image
Digest
sha256:1f7b455b5…
Size
430.2 MB
Last updated
over 7 years ago
docker pull octplane/docker-rust