You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
9 years ago | |
|---|---|---|
| .. | ||
| Dockerfile | 11 years ago | |
| README.md | 11 years ago | |
| install.sh | 11 years ago | |
README.md
rust
Lightweight nightly Rust build including Cargo and GDB
Usage
$ docker run --rm -it -v $(pwd):/source schickling/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="John Doe" -v $(pwd):/source schickling/rust