This is the Docker branch. A build is available here on Docker Hub.
(sudo) docker run --runtime nvidia -it --rm mdegans/tegra-opencv:latest
On all tegra boards:
(sudo) ./docker_build.sh
Just change JETPACK_VERSION and OPENCV_VERSION as needed in the docker_build.sh
For those who want to modify the Dockerfile or use other --build-arg
options, there are these:
# Performs tests:
ARG OPENCV_DO_TEST="FALSE"
# Number of cores to use to build (1 is recommend on Nano unless you have a swapfile mounted. More will use more memory)
# 8 is recommended on Xavier
ARG OPENCV_BUILD_JOBS="1"