Browse Source

readmes

pull/2/head
Johannes Schickling 10 years ago
parent
commit
641fae3435
  1. 1
      README.md
  2. 25
      opencv/README.md
  3. 25
      rust/README.md

1
README.md

@ -7,6 +7,7 @@ Collection of lightweight and ready-to-use docker images
* **[Mailcatcher](https://github.com/schickling/dockerfiles/tree/master/mailcatcher)** - Extra small mailcatcher image
* **[Octave](https://github.com/schickling/dockerfiles/tree/master/octave)** - Lightweight ocatve development environment
* **[OpenCV](https://github.com/schickling/dockerfiles/tree/master/opencv)** - Lightweight ready-to use OpenCV image
* **[Rust](https://github.com/schickling/dockerfiles/tree/master/rust)** - Lightweight nightly Rust build including Cargo and GDB
## FAQ

25
opencv/README.md

@ -1,28 +1,9 @@
# rust
# opencv
Lightweight nightly Rust build including Cargo and GDB
Lightweight ready-to use OpenCV image
## Usage
```sh
$ docker run --rm -it -v $(pwd):/source schickling/rust
$ docker run --rm -it -v $(pwd):/source schickling/opencv
```
Mount your local source folder to the container and compile & run code inside.
#### Compiling code
```sh
$ 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`.
```sh
$ docker run --rm -it -e USER="John Doe" -v $(pwd):/source schickling/rust
```

25
rust/README.md

@ -1,9 +1,28 @@
# opencv
# rust
Lightweight ready-to use OpenCV image
Lightweight nightly Rust build including Cargo and GDB
## Usage
```sh
$ docker run --rm -it -v $(pwd):/source schickling/opencv
$ docker run --rm -it -v $(pwd):/source schickling/rust
```
Mount your local source folder to the container and compile & run code inside.
#### Compiling code
```sh
$ 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`.
```sh
$ docker run --rm -it -e USER="John Doe" -v $(pwd):/source schickling/rust
```
Loading…
Cancel
Save