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.

22 lines
448 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. # rust
  2. Lightweight nightly Rust build including Cargo and GDB
  3. ## Usage
  4. ```sh
  5. $ docker run --rm -it -v $(pwd):/source schickling/rust
  6. ```
  7. Mount your local source folder to the container and compile & run code inside.
  8. ### Environment variables
  9. #### `USER`
  10. The `$USER` environment variable can be specified, which is used by `cargo`. The default is `root`.
  11. ```sh
  12. $ docker run --rm -it -e USER="John Doe" -v $(pwd):/source schickling/rust
  13. ```