Browse Source

env

pull/2/head
Johannes Schickling 10 years ago
parent
commit
145595af19
  1. 11
      rust/README.md

11
rust/README.md

@ -9,3 +9,14 @@ $ docker run --rm -it -v $(pwd):/source schickling/rust
```
Mount your local source folder to the container and compile & run code inside.
### Environment variables
#### `USER`
The `$USER` environment variable can be specified, which is used by `cargo`. The default is `root`.
```sh
$ docker run --rm -it -e USER="John Doe" -v $(pwd):/source schickling/rust
```
Loading…
Cancel
Save