Sign inSign up

akiyoshi83/rust

By akiyoshi83

Updated almost 10 years ago

latest rust environment.

Image
0

283

akiyoshi83/rust repository overview

rust

Rust, Cargo and GDB

Usage

$ docker run --rm -it -v $(pwd):/src akiyoshi83/rust

Mount your local source folder to the container and compile & run code inside.

Compiling code
$ rustc hello-world.rs
$ ./hello-world
> Hello World!
Environment variables

The $USER environment variable can be specified, which is used by cargo. The default is root.

$ docker run --rm -it -e USER="suzuki" -v $(pwd):/src akiyoshi83/rust

Tag summary

Content type

Image

Digest

Size

357.5 MB

Last updated

almost 10 years ago

docker pull akiyoshi83/rust