tree: f2e76127707b69ca56e0a1ef37c0ab31c1c66448 [path history] [tgz]
  1. README.md
  2. armnn-android/
  3. x86_64/
docker/README.md

ARMNN Docker Files

Android NDK to build ArmNN:

armnn-android folder has the docker file to build a Android NDK container to build ARMNN.

ArmNN on x86_64 for arm64 and arm32

x86_64 folder has the docker file to build ArmNN under an x86_64 system to target an Arm64 and Arm32 systems.

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