diff --git a/README.md b/README.md index deb1b15..fb90a88 100644 --- a/README.md +++ b/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 diff --git a/opencv/README.md b/opencv/README.md index f16d62c..efdb174 100644 --- a/opencv/README.md +++ b/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 -``` - diff --git a/rust/README.md b/rust/README.md index efdb174..f16d62c 100644 --- a/rust/README.md +++ b/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 +``` +