diff options
author | Jegathesan Shanmugam <nullbyte.in@gmail.com> | 2020-03-26 22:25:32 +0530 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2020-05-23 09:01:20 +0000 |
commit | 0e6e876bcffeb8a8caee645cc3bc92f7a5362eeb (patch) | |
tree | 4710cc7f9eef8ec5ea26918e76358d7316b19e41 /docker/README.md | |
parent | d36c5288f1a87bcd4a100be413132d61305cb545 (diff) | |
download | armnn-0e6e876bcffeb8a8caee645cc3bc92f7a5362eeb.tar.gz |
Github #111
Added Docker file to build an Android NDK container to build ARMNN.
Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com>
Change-Id: I0f15dd21ae295894b168213c6522bb4d20051f76
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000000..85e5d28385 --- /dev/null +++ b/docker/README.md @@ -0,0 +1,13 @@ +# DOCKER IMAGES for ARMNN Compilation Environment + +# To build a docker images +docker build --rm --build-arg proxy=$http_proxy --rm --tag armnn:v1 . + +# To Run docker images +docker run -v /etc/localtime:/etc/localtime:ro --rm -it -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash + +# To run a docker with X11 support for GUI Application +docker run -v /etc/localtime:/etc/localtime:ro --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash + +# To mount the camera and access camera from docker env +docker run -v /etc/localtime:/etc/localtime:ro --rm -it --device /dev/video0 -e http_proxy -e https_proxy -e ftp_proxy -v `pwd`:/work armnn:v1 bash |