From 01f2372dad2ea17486cdc13b973f306ef7775b29 Mon Sep 17 00:00:00 2001
From: remi <remi.cresson@irstea.fr>
Date: Fri, 10 May 2019 10:27:34 +0200
Subject: [PATCH] DOC: update README with docker instructions

---
 README.md | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index f4e84e3..aa00113 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,22 @@ Below are some screen captures of deep learning applications performed at large
 
 You can read more details about these applications on [this blog](https://mdl4eo.irstea.fr/2019/)
 
-# How to install
-This remote module has been tested successfully on Ubuntu 18 and CentOs 7 with last CUDA drivers.
+# Docker image
+You can build a docker image using the provided dockerfile.
+Warning: TensorFlow and OTB are built with the minimal optimization flags, no CUDA/OpenCL enabled, no AVX and such for CPU.
+The dockerfiles are located in `tools/dockerfiles/`. 
+
+To build your docker image, just enter the following from the directory containing the `Dockerfile` you chose.
+```
+# Build the docker image (troubleshooting: if any downloading operation fails, just re-run the command since it's incremental)
+docker build --tag otbtf_image .
+# Want export it?
+docker save -o ../otbtf_image.tar otbtf_image:latest
+```
+Feel free to contribute to this, adding more Dockerfiles!
+
+# Build from sources
+This remote module has been tested successfully on Ubuntu 18 and CentOs 7 with last CUDA drivers, TensorFlow r1.14 and OTB develop (0df44b312d64d6c3890b65d3790d4a17d0fd5f23).
 
 ## Build OTB
 First, **build the latest *develop* branch of OTB from sources**. You can check the [OTB documentation](https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html) which details all the steps, if fact it is quite easy thank to the SuperBuild.
-- 
GitLab