diff options
author | Jegathesan Shanmugam <nullbyte.in@gmail.com> | 2020-03-26 22:47:37 +0530 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2020-05-25 14:27:18 +0100 |
commit | d29e00cbf2200fc230463a83f36b14a166646eda (patch) | |
tree | 287452e7ec818d9f211e18110775511acfc13498 /docker/README.md | |
parent | 1266bbd5ab9e8d40062232faaf990d7a45687722 (diff) | |
download | armnn-d29e00cbf2200fc230463a83f36b14a166646eda.tar.gz |
Github #111
Added Dockerfile to build ArmNN under an x86_64 system to target an Arm64 system.
Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com>
Change-Id: I244bab37cc5fe7b38a22d4b530d42e593f223d79
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/docker/README.md b/docker/README.md index 85e5d28385..beb201836d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,13 +1,34 @@ -# DOCKER IMAGES for ARMNN Compilation Environment +# ARMNN Docker Files + + +## [Android NDK to build ArmNN](https://github.com/ARM-software/armnn/blob/branches/armnn_20_02/BuildGuideAndroidNDK.md):</br> + +<b>armnn-android</b> folder has the docker file to build a Android NDK container to build ARMNN. + +## [ArmNN on x86_64 for arm64](https://github.com/ARM-software/armnn/blob/branches/armnn_20_02/BuildGuideCrossCompilation.md) + +<b>x86_64</b> folder has the docker file to build ArmNN under an x86_64 system to target an Arm64 system. # To build a docker images +```bash docker build --rm --build-arg proxy=$http_proxy --rm --tag armnn:v1 . +``` # To Run docker images +```bash 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 +```bash 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 +```bash 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 +``` + + + + |