├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── 1_feature_request.yml │ └── 2_bug_report.yml └── workflows │ └── stale_issues.yml ├── legacy ├── 2.8 │ ├── ubuntu1604 │ │ ├── cuda10.0 │ │ │ ├── devel │ │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ │ └── Dockerfile │ │ │ └── runtime │ │ │ │ └── Dockerfile │ │ ├── cuda10.2 │ │ │ ├── devel │ │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ │ └── Dockerfile │ │ │ └── runtime │ │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ │ ├── devel │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ └── Dockerfile │ │ │ ├── runtime │ │ │ └── Dockerfile │ │ │ └── ros │ │ │ └── Dockerfile │ ├── ubuntu1804 │ │ ├── cuda10.0 │ │ │ ├── devel │ │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ │ └── Dockerfile │ │ │ ├── runtime │ │ │ │ └── Dockerfile │ │ │ └── ros │ │ │ │ └── Dockerfile │ │ └── cuda10.2 │ │ │ ├── devel │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ └── Dockerfile │ │ │ └── runtime │ │ │ └── Dockerfile │ └── l4t │ │ ├── jetpack_4.2 │ │ └── devel │ │ │ └── Dockerfile │ │ └── jetpack_4.3 │ │ └── devel │ │ └── Dockerfile ├── 2.6 │ └── ubuntu1604 │ │ ├── cuda9.2 │ │ └── devel │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ ├── devel │ │ └── Dockerfile │ │ ├── devel-gl │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.1 │ └── ubuntu1604 │ │ └── cuda8.0 │ │ ├── devel │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.2 │ └── ubuntu1604 │ │ ├── cuda8.0 │ │ └── devel │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ ├── devel │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.3 │ └── ubuntu1604 │ │ └── cuda9.1 │ │ ├── devel │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.4 │ └── ubuntu1604 │ │ ├── cuda9.1 │ │ └── devel │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ ├── devel │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.5 │ └── ubuntu1604 │ │ ├── cuda9.2 │ │ └── devel │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ ├── devel │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile ├── 2.7 │ ├── ubuntu1604 │ │ ├── cuda10.0 │ │ │ ├── devel │ │ │ │ └── Dockerfile │ │ │ └── devel-gl │ │ │ │ └── Dockerfile │ │ └── cuda9.0 │ │ │ ├── devel │ │ │ └── Dockerfile │ │ │ ├── devel-gl │ │ │ └── Dockerfile │ │ │ └── ros │ │ │ └── Dockerfile │ └── ubuntu1804 │ │ └── cuda10.0 │ │ ├── devel │ │ └── Dockerfile │ │ ├── devel-gl │ │ └── Dockerfile │ │ └── ros │ │ └── Dockerfile └── 2.0 │ └── ubuntu1604 │ └── cuda8.0 │ ├── devel │ └── Dockerfile │ └── ros │ └── Dockerfile ├── .ci ├── build_desktop_images.sh └── build_jetson_images.sh ├── LICENSE ├── 4.X ├── ubuntu │ ├── runtime │ │ └── Dockerfile │ ├── devel │ │ └── Dockerfile │ └── gl-devel │ │ └── Dockerfile └── l4t │ ├── tools-devel │ └── Dockerfile │ ├── runtime │ └── Dockerfile │ ├── devel │ └── Dockerfile │ ├── py-devel │ └── Dockerfile │ └── py-runtime │ └── Dockerfile ├── 5.X ├── ubuntu │ ├── runtime │ │ └── Dockerfile │ ├── devel │ │ └── Dockerfile │ └── gl-devel │ │ └── Dockerfile └── l4t │ ├── tools-devel │ └── Dockerfile │ ├── runtime │ └── Dockerfile │ ├── devel │ └── Dockerfile │ ├── py-devel │ └── Dockerfile │ └── py-runtime │ └── Dockerfile ├── 3.X ├── ubuntu │ ├── runtime │ │ └── Dockerfile │ ├── devel │ │ └── Dockerfile │ └── gl-devel │ │ └── Dockerfile └── l4t │ ├── tools-devel │ └── Dockerfile │ ├── runtime │ └── Dockerfile │ ├── devel │ └── Dockerfile │ ├── py-devel │ └── Dockerfile │ └── py-runtime │ └── Dockerfile ├── .gitlab-ci.yml ├── dockerhub.md └── README.md /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Online Documentation 4 | url: https://www.stereolabs.com/docs/ 5 | about: Check out the Stereolabs documentation for answers to common questions. 6 | - name: Stereolabs Community 7 | url: https://community.stereolabs.com/ 8 | about: Ask questions, request features & discuss with other users and developers. 9 | - name: Stereolabs Twitter 10 | url: https://twitter.com/Stereolabs3D 11 | about: The official Stereolabs Twitter account to ask questions, comment our products and share your projects with the ZED community. 12 | 13 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.0-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu16 && \ 8 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 9 | rm ZED_SDK_Linux_Ubuntu16.run && \ 10 | rm -rf /var/lib/apt/lists/* 11 | 12 | WORKDIR /usr/local/zed/ 13 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.2/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.2-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu16 && \ 8 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 9 | rm ZED_SDK_Linux_Ubuntu16.run && \ 10 | rm -rf /var/lib/apt/lists/* 11 | 12 | WORKDIR /usr/local/zed/ 13 | -------------------------------------------------------------------------------- /legacy/2.6/ubuntu1604/cuda9.2/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.2-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | rm -rf /var/lib/apt/lists/* 8 | 9 | RUN apt-get update -y && \ 10 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.6/ubuntu && \ 11 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 12 | rm ZED_SDK_Linux_Ubuntu16.run && \ 13 | rm -rf /var/lib/apt/lists/* 14 | -------------------------------------------------------------------------------- /.ci/build_desktop_images.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | set -x 4 | VERSION="${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}-${IMAGE_VARIANT}-cuda${CUDA_MAJOR}.${CUDA_MINOR_NO_PATCH}-ubuntu${UBUNTU_RELEASE_YEAR}.04" 5 | IMAGE_PATH="zed-docker/${ZED_SDK_MAJOR}.X/ubuntu/${IMAGE_VARIANT}" 6 | docker info 7 | docker login -u "${REGISTRY_USER}" -p "${REGISTRY_TOKEN}" 8 | docker build --no-cache --build-arg UBUNTU_RELEASE_YEAR=${UBUNTU_RELEASE_YEAR} --build-arg ZED_SDK_MAJOR=${ZED_SDK_MAJOR} --build-arg ZED_SDK_MINOR=${ZED_SDK_MINOR} --build-arg CUDA_MAJOR=${CUDA_MAJOR} --build-arg CUDA_MINOR=${CUDA_MINOR} -t "${CI_REGISTRY_IMAGE}:${VERSION}" "${IMAGE_PATH}" 9 | docker tag "${CI_REGISTRY_IMAGE}:${VERSION}" "${CI_REGISTRY_IMAGE}:${VERSION}"; 10 | docker push "${CI_REGISTRY_IMAGE}:${VERSION}" -------------------------------------------------------------------------------- /legacy/2.1/ubuntu1604/cuda8.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:8.0-devel-ubuntu16.04 2 | 3 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 4 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https unzip -y && \ 5 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 6 | rm -rf /var/lib/apt/lists/* 7 | 8 | RUN apt-get update -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.1/ubuntu && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 11 | rm ZED_SDK_Linux_Ubuntu16.run && \ 12 | rm -rf /var/lib/apt/lists/* 13 | 14 | WORKDIR /usr/local/zed/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /legacy/2.2/ubuntu1604/cuda8.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:8.0-devel-ubuntu16.04 2 | 3 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 4 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 5 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 6 | rm -rf /var/lib/apt/lists/* 7 | 8 | RUN apt-get update -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.2/ubuntu_cuda8 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 11 | rm ZED_SDK_Linux_Ubuntu16.run && \ 12 | rm -rf /var/lib/apt/lists/* 13 | 14 | WORKDIR /usr/local/zed/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /legacy/2.3/ubuntu1604/cuda9.1/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.1-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | rm -rf /var/lib/apt/lists/* 8 | 9 | RUN apt-get update -y && \ 10 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.3/ubuntu && \ 11 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 12 | rm ZED_SDK_Linux_Ubuntu16.run && \ 13 | rm -rf /var/lib/apt/lists/* 14 | 15 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.4/ubuntu1604/cuda9.1/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.1-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | rm -rf /var/lib/apt/lists/* 8 | 9 | RUN apt-get update -y && \ 10 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.4/ubuntu && \ 11 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 12 | rm ZED_SDK_Linux_Ubuntu16.run && \ 13 | rm -rf /var/lib/apt/lists/* 14 | 15 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.5/ubuntu1604/cuda9.2/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.2-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | rm -rf /var/lib/apt/lists/* 8 | 9 | RUN apt-get update -y && \ 10 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.5/ubuntu && \ 11 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 12 | rm ZED_SDK_Linux_Ubuntu16.run && \ 13 | rm -rf /var/lib/apt/lists/* 14 | 15 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 2 | 3 | # The runtime image might be enough, depending on the need 4 | 5 | # Setup the ZED SDK 6 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 7 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 8 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 9 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu90/ubuntu16 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 11 | rm ZED_SDK_Linux_Ubuntu16.run && \ 12 | rm -rf /var/lib/apt/lists/* 13 | 14 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1604/cuda10.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.0-devel-ubuntu16.04 2 | 3 | # Setup the ZED SDK 4 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 5 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 6 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 7 | rm -rf /var/lib/apt/lists/* 8 | 9 | RUN apt-get update -y && \ 10 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.7/ubuntu16 && \ 11 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 12 | rm ZED_SDK_Linux_Ubuntu16.run && \ 13 | rm -rf /var/lib/apt/lists/* 14 | 15 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cudagl:10.0-devel-ubuntu16.04 2 | 3 | # The runtime image might be enough, depending on the need 4 | 5 | # Setup the ZED SDK 6 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 7 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 8 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 9 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu16 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 11 | rm ZED_SDK_Linux_Ubuntu16.run && \ 12 | rm -rf /var/lib/apt/lists/* 13 | 14 | # Make some tools happy 15 | RUN mkdir -p /root/Documents/ZED/ 16 | 17 | WORKDIR /usr/local/zed/ 18 | 19 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu18 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu18.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | WORKDIR /usr/local/zed/ 17 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.2/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:10.2-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu18 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu18.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | WORKDIR /usr/local/zed/ 17 | -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1804/cuda10.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.7/ubuntu18 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu18.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.2/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.2/ubuntu && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ 20 | -------------------------------------------------------------------------------- /legacy/2.4/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.4/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.5/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.5/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.6/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.6/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1604/cuda9.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.7/ubuntu16_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /.github/workflows/stale_issues.yml: -------------------------------------------------------------------------------- 1 | name: 'Stale issue handler' 2 | on: 3 | workflow_dispatch: 4 | schedule: 5 | - cron: '00 00 * * *' 6 | 7 | jobs: 8 | stale: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/stale@main 12 | id: stale 13 | with: 14 | stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days' 15 | stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days' 16 | days-before-stale: 30 17 | days-before-close: 5 18 | operations-per-run: 1500 19 | exempt-issue-labels: 'feature_request' 20 | exempt-pr-labels: 'feature_request' 21 | enable-statistics: 'true' 22 | close-issue-label: 'closed_for_stale' 23 | close-pr-label: 'closed_for_stale' 24 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.2/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:10.2-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu16 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu16.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Make some tools happy 17 | RUN mkdir -p /root/Documents/ZED/ 18 | 19 | WORKDIR /usr/local/zed/ 20 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda9.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu90/ubuntu16 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu16.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Make some tools happy 17 | RUN mkdir -p /root/Documents/ZED/ 18 | 19 | WORKDIR /usr/local/zed/ 20 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu18 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu18.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Make some tools happy 17 | RUN mkdir -p /root/Documents/ZED/ 18 | 19 | WORKDIR /usr/local/zed/ 20 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.2/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:10.2-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu18 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu18.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Make some tools happy 17 | RUN mkdir -p /root/Documents/ZED/ 18 | 19 | WORKDIR /usr/local/zed/ 20 | -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1604/cuda10.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:10.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.7/ubuntu16 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Make some tools happy 20 | RUN mkdir -p /root/Documents/ZED/ 21 | 22 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1804/cuda10.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.7/ubuntu18 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu18.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Make some tools happy 20 | RUN mkdir -p /root/Documents/ZED/ 21 | 22 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1604/cuda9.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.7/ubuntu16_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Make some tools happy 20 | RUN mkdir -p /root/Documents/ZED/ 21 | 22 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda9.0/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:9.0-base-ubuntu16.04 2 | 3 | ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility 4 | 5 | RUN apt-get update -y && apt-get autoremove -y && \ 6 | apt-get install --no-install-recommends wget curl libusb-1.0-0 curl libhidapi-libusb0 libopenblas-base \ 7 | libjpeg-turbo8 libturbojpeg libpng12-0 udev libgomp1 -y && \ 8 | apt-get install --no-install-recommends cuda-npp-9-0 -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu.run https://download.stereolabs.com/zedsdk/2.8/cu90/ubuntu16 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu.run ; ./ZED_SDK_Linux_Ubuntu.run --noexec --target zed_installer && \ 11 | rm ZED_SDK_Linux_Ubuntu.run && \ 12 | mkdir -p /usr/local/zed/lib ; mkdir -p /usr/local/zed/settings ; mv zed_installer/lib/*.so /usr/local/zed/lib && \ 13 | mv "zed_installer/99-slabs.rules" "/etc/udev/rules.d/"; chmod 777 "/etc/udev/rules.d/99-slabs.rules" && \ 14 | mv "zed_installer/zed.conf" "/etc/ld.so.conf.d/" ; ldconfig ; usermod -a -G video "$(whoami)" && \ 15 | rm -rf zed_installer && \ 16 | rm -rf /var/lib/apt/lists/* 17 | -------------------------------------------------------------------------------- /legacy/2.6/ubuntu1604/cuda9.0/devel-gl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cudagl:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https nano cmake usbutils git libqt5xml5 libxmu-dev libxi-dev -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.6/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Make some tools happy 20 | RUN mkdir -p /root/Documents/ZED/ 21 | 22 | WORKDIR /usr/local/zed/ 23 | 24 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.0/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.0-base-ubuntu16.04 2 | 3 | ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility 4 | 5 | RUN apt-get update -y && apt-get autoremove -y && \ 6 | apt-get install --no-install-recommends wget curl libusb-1.0-0 curl libhidapi-libusb0 libopenblas-base \ 7 | libjpeg-turbo8 libturbojpeg libpng12-0 udev libgomp1 -y && \ 8 | apt-get install --no-install-recommends cuda-npp-10-0 -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu16 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu.run ; ./ZED_SDK_Linux_Ubuntu.run --noexec --target zed_installer && \ 11 | rm ZED_SDK_Linux_Ubuntu.run && \ 12 | mkdir -p /usr/local/zed/lib ; mkdir -p /usr/local/zed/settings ; mv zed_installer/lib/*.so /usr/local/zed/lib && \ 13 | mv "zed_installer/99-slabs.rules" "/etc/udev/rules.d/"; chmod 777 "/etc/udev/rules.d/99-slabs.rules" && \ 14 | mv "zed_installer/zed.conf" "/etc/ld.so.conf.d/" ; ldconfig ; usermod -a -G video "$(whoami)" && \ 15 | rm -rf zed_installer && \ 16 | rm -rf /var/lib/apt/lists/* 17 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda10.2/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.2-base-ubuntu16.04 2 | 3 | ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility 4 | 5 | RUN apt-get update -y && apt-get autoremove -y && \ 6 | apt-get install --no-install-recommends wget curl libusb-1.0-0 curl libhidapi-libusb0 libopenblas-base \ 7 | libjpeg-turbo8 libturbojpeg libpng12-0 udev libgomp1 -y && \ 8 | apt-get install --no-install-recommends cuda-npp-10-2 -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu16 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu.run ; ./ZED_SDK_Linux_Ubuntu.run --noexec --target zed_installer && \ 11 | rm ZED_SDK_Linux_Ubuntu.run && \ 12 | mkdir -p /usr/local/zed/lib ; mkdir -p /usr/local/zed/settings ; mv zed_installer/lib/*.so /usr/local/zed/lib && \ 13 | mv "zed_installer/99-slabs.rules" "/etc/udev/rules.d/"; chmod 777 "/etc/udev/rules.d/99-slabs.rules" && \ 14 | mv "zed_installer/zed.conf" "/etc/ld.so.conf.d/" ; ldconfig ; usermod -a -G video "$(whoami)" && \ 15 | rm -rf zed_installer && \ 16 | rm -rf /var/lib/apt/lists/* 17 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.0/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.0-base-ubuntu18.04 2 | 3 | ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility 4 | 5 | # Setup the ZED SDK 6 | RUN apt-get update -y && apt-get autoremove -y && \ 7 | apt-get install --no-install-recommends wget curl libusb-1.0-0 curl libhidapi-libusb0 libopenblas-base libjpeg-turbo8 libturbojpeg libpng16-16 udev libgomp1 -y && \ 8 | apt-get install --no-install-recommends cuda-npp-10-0 -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu18 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run --noexec --target zed_installer && \ 11 | rm ZED_SDK_Linux_Ubuntu18.run && \ 12 | mkdir -p /usr/local/zed/lib ; mkdir -p /usr/local/zed/settings ; mv zed_installer/lib/*.so /usr/local/zed/lib && \ 13 | mv "zed_installer/99-slabs.rules" "/etc/udev/rules.d/"; chmod 777 "/etc/udev/rules.d/99-slabs.rules" && \ 14 | mv "zed_installer/zed.conf" "/etc/ld.so.conf.d/" ; ldconfig ; usermod -a -G video "$(whoami)" && \ 15 | rm -rf zed_installer && \ 16 | rm -rf /var/lib/apt/lists/* 17 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.2/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:10.2-base-ubuntu18.04 2 | 3 | ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility 4 | 5 | # Setup the ZED SDK 6 | RUN apt-get update -y && apt-get autoremove -y && \ 7 | apt-get install --no-install-recommends wget curl libusb-1.0-0 curl libhidapi-libusb0 libopenblas-base libjpeg-turbo8 libturbojpeg libpng16-16 udev libgomp1 -y && \ 8 | apt-get install --no-install-recommends cuda-npp-10-2 -y && \ 9 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu102/ubuntu18 && \ 10 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run --noexec --target zed_installer && \ 11 | rm ZED_SDK_Linux_Ubuntu18.run && \ 12 | mkdir -p /usr/local/zed/lib ; mkdir -p /usr/local/zed/settings ; mv zed_installer/lib/*.so /usr/local/zed/lib && \ 13 | mv "zed_installer/99-slabs.rules" "/etc/udev/rules.d/"; chmod 777 "/etc/udev/rules.d/99-slabs.rules" && \ 14 | mv "zed_installer/zed.conf" "/etc/ld.so.conf.d/" ; ldconfig ; usermod -a -G video "$(whoami)" && \ 15 | rm -rf zed_installer && \ 16 | rm -rf /var/lib/apt/lists/* 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Stereolabs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /legacy/2.8/l4t/jetpack_4.2/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | FROM nvcr.io/nvidia/l4t-base:r32.2.1 3 | 4 | #This environment variable is needed to use the streaming features on Jetson inside a container 5 | ENV LOGNAME root 6 | ENV DEBIAN_FRONTEND noninteractive 7 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 8 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 9 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 10 | rm -rf /var/lib/apt/lists/* 11 | 12 | RUN apt-get update -y && \ 13 | wget -O ZED_SDK_Linux_JP_v2.8.run https://download.stereolabs.com/zedsdk/2.8/jp42/jetsons && \ 14 | chmod +x ZED_SDK_Linux_JP_v2.8.run ; ./ZED_SDK_Linux_JP_v2.8.run silent && \ 15 | rm -rf ZED_SDK_Linux_JP_v2.8.run && \ 16 | rm -rf /var/lib/apt/lists/* 17 | 18 | #This symbolic link is needed to use the streaming features on Jetson inside a container 19 | RUN ln -s /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 20 | 21 | WORKDIR /usr/local/zed 22 | -------------------------------------------------------------------------------- /legacy/2.8/l4t/jetpack_4.3/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | FROM nvcr.io/nvidia/l4t-base:r32.3.1 3 | 4 | #This environment variable is needed to use the streaming features on Jetson inside a container 5 | ENV LOGNAME root 6 | ENV DEBIAN_FRONTEND noninteractive 7 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 8 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 9 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 10 | rm -rf /var/lib/apt/lists/* 11 | 12 | RUN apt-get update -y && \ 13 | wget -O ZED_SDK_Linux_JP_v2.8.run https://download.stereolabs.com/zedsdk/2.8/jp43/jetsons && \ 14 | chmod +x ZED_SDK_Linux_JP_v2.8.run ; ./ZED_SDK_Linux_JP_v2.8.run silent && \ 15 | rm -rf ZED_SDK_Linux_JP_v2.8.run && \ 16 | rm -rf /var/lib/apt/lists/* 17 | 18 | #This symbolic link is needed to use the streaming features on Jetson inside a container 19 | RUN ln -s /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 20 | 21 | WORKDIR /usr/local/zed 22 | -------------------------------------------------------------------------------- /4.X/ubuntu/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-base-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent runtime_only skip_cuda && \ 24 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 25 | rm -rf /var/lib/apt/lists/* -------------------------------------------------------------------------------- /5.X/ubuntu/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-base-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent runtime_only skip_cuda && \ 24 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 25 | rm -rf /var/lib/apt/lists/* -------------------------------------------------------------------------------- /3.X/ubuntu/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-runtime-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true && \ 20 | apt-get install --no-install-recommends lsb-release wget less udev sudo zstd python3 python3-pip libpng-dev libgomp1 -y && \ 21 | python3 -m pip install --upgrade pip; python3 -m pip install numpy opencv-python-headless && \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}${CUDA_MINOR%.*}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent runtime_only skip_cuda && \ 24 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /4.X/ubuntu/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less udev sudo zstd build-essential cmake python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent skip_tools skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /5.X/ubuntu/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less udev sudo zstd build-essential cmake python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent skip_tools skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /3.X/ubuntu/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cuda:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true 20 | RUN apt-get install --no-install-recommends lsb-release wget less udev sudo build-essential cmake zstd python3 python3-pip libpng-dev libgomp1 -y && \ 21 | python3 -m pip install --upgrade pip; python3 -m pip install numpy opencv-python-headless && \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}${CUDA_MINOR%.*}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent skip_tools skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /3.X/l4t/tools-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true && \ 19 | apt-get install --no-install-recommends zstd lsb-release wget less udev sudo apt-transport-https -y && \ 20 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 21 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 22 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run -- silent && \ 23 | rm -rf /usr/local/zed/resources/* \ 24 | rm -rf ZED_SDK_Linux.run && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | #This symbolic link is needed to use the streaming features on Jetson inside a container 28 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 29 | 30 | WORKDIR /usr/local/zed 31 | -------------------------------------------------------------------------------- /4.X/l4t/tools-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /5.X/l4t/tools-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /.ci/build_jetson_images.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | VERSION1="${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}-${IMAGE_VARIANT}-jetson-jp${JETPACK_MAJOR}.${JETPACK_MINOR}" 4 | VERSION2="${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}-${IMAGE_VARIANT}-l4t-r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}" 5 | #IMAGE_PATH="zed-docker/${ZED_SDK_MAJOR}.X/l4t_${L4T_MAJOR_VERSION}.X/${IMAGE_VARIANT}" 6 | IMAGE_PATH="zed-docker/${ZED_SDK_MAJOR}.X/l4t/${IMAGE_VARIANT}" 7 | docker info 8 | docker login -u "${REGISTRY_USER}" -p "${REGISTRY_TOKEN}" 9 | docker build --no-cache --build-arg L4T_MAJOR_VERSION=${L4T_MAJOR_VERSION} --build-arg L4T_MINOR_VERSION=${L4T_MINOR_VERSION} --build-arg L4T_PATCH_VERSION=${L4T_PATCH_VERSION} --build-arg ZED_SDK_MAJOR=${ZED_SDK_MAJOR} --build-arg ZED_SDK_MINOR=${ZED_SDK_MINOR} --build-arg L4T_BASE_IMAGE=${L4T_BASE_IMAGE} -t "${CI_REGISTRY_IMAGE}:${VERSION1}" "${IMAGE_PATH}" 10 | docker build --build-arg L4T_MAJOR_VERSION=${L4T_MAJOR_VERSION} --build-arg L4T_MINOR_VERSION=${L4T_MINOR_VERSION} --build-arg L4T_PATCH_VERSION=${L4T_PATCH_VERSION} --build-arg ZED_SDK_MAJOR=${ZED_SDK_MAJOR} --build-arg ZED_SDK_MINOR=${ZED_SDK_MINOR} --build-arg L4T_BASE_IMAGE=${L4T_BASE_IMAGE} -t "${CI_REGISTRY_IMAGE}:${VERSION2}" "${IMAGE_PATH}" 11 | docker tag "${CI_REGISTRY_IMAGE}:${VERSION1}" "${CI_REGISTRY_IMAGE}:${VERSION1}"; 12 | docker tag "${CI_REGISTRY_IMAGE}:${VERSION2}" "${CI_REGISTRY_IMAGE}:${VERSION2}"; 13 | docker push "${CI_REGISTRY_IMAGE}:${VERSION1}" 14 | docker push "${CI_REGISTRY_IMAGE}:${VERSION2}" -------------------------------------------------------------------------------- /3.X/l4t/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true && \ 19 | apt-get install --no-install-recommends zstd lsb-release wget less udev sudo apt-transport-https -y && \ 20 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 21 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 22 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run -- silent runtime_only && \ 23 | rm -rf /usr/local/zed/resources/* \ 24 | rm -rf ZED_SDK_Linux.run && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | #This symbolic link is needed to use the streaming features on Jetson inside a container 28 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 29 | 30 | WORKDIR /usr/local/zed 31 | -------------------------------------------------------------------------------- /4.X/l4t/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent runtime_only skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /5.X/l4t/runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent runtime_only skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /3.X/l4t/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true && \ 19 | apt-get install --no-install-recommends zstd lsb-release wget less udev sudo apt-transport-https build-essential cmake -y&& \ 20 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 21 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 22 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run -- silent skip_tools && \ 23 | rm -rf /usr/local/zed/resources/* \ 24 | rm -rf ZED_SDK_Linux.run && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | #This symbolic link is needed to use the streaming features on Jetson inside a container 28 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 29 | 30 | WORKDIR /usr/local/zed 31 | -------------------------------------------------------------------------------- /4.X/l4t/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true ; apt-get install --no-install-recommends lsb-release wget less udev zstd sudo apt-transport-https build-essential cmake -y&& \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_tools skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /5.X/l4t/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true ; apt-get install --no-install-recommends lsb-release wget less udev zstd sudo apt-transport-https build-essential cmake -y&& \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_tools skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | #This symbolic link is needed to use the streaming features on Jetson inside a container 27 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 28 | 29 | WORKDIR /usr/local/zed 30 | -------------------------------------------------------------------------------- /4.X/ubuntu/gl-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cudagl:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility,graphics 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less udev zstd sudo build-essential cmake python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python pyopengl ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run silent skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | # Make some tools happy 29 | RUN mkdir -p /root/Documents/ZED/ 30 | 31 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /3.X/ubuntu/gl-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM nvidia/cudagl:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility,graphics 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true 20 | RUN apt-get install --no-install-recommends lsb-release wget less udev sudo build-essential cmake zstd python3 python3-pip libpng-dev libgomp1 -y && \ 21 | python3 -m pip install --upgrade pip; python3 -m pip install numpy opencv-python && \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}${CUDA_MINOR%.*}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run -- silent skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | # Make some tools happy 29 | RUN mkdir -p /root/Documents/ZED/ 30 | 31 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /5.X/ubuntu/gl-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG UBUNTU_RELEASE_YEAR 2 | ARG CUDA_MAJOR 3 | ARG CUDA_MINOR 4 | 5 | FROM stereolabs/cudagl:${CUDA_MAJOR}.${CUDA_MINOR}-devel-ubuntu${UBUNTU_RELEASE_YEAR}.04 6 | 7 | ARG UBUNTU_RELEASE_YEAR 8 | ARG CUDA_MAJOR 9 | ARG CUDA_MINOR 10 | ARG ZED_SDK_MAJOR 11 | ARG ZED_SDK_MINOR 12 | 13 | ENV NVIDIA_DRIVER_CAPABILITIES \ 14 | ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}compute,video,utility,graphics 15 | 16 | RUN echo "Europe/Paris" > /etc/localtime ; echo "CUDA Version ${CUDA_MAJOR}.${CUDA_MINOR}.0" > /usr/local/cuda/version.txt 17 | 18 | # Setup the ZED SDK 19 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less udev zstd sudo build-essential cmake python3 python3-pip libpng-dev libgomp1 -y ; \ 20 | #python3 -m pip install --upgrade pip ; \ 21 | python3 -m pip install numpy opencv-python pyopengl ; \ 22 | wget -q -O ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/cu${CUDA_MAJOR}/ubuntu${UBUNTU_RELEASE_YEAR} && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run ; ./ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run silent skip_cuda && \ 24 | ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/lib/x86_64-linux-gnu/libusb-1.0.so && \ 25 | rm ZED_SDK_Linux_Ubuntu${UBUNTU_RELEASE_YEAR}.run && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | # Make some tools happy 29 | RUN mkdir -p /root/Documents/ZED/ 30 | 31 | WORKDIR /usr/local/zed/ -------------------------------------------------------------------------------- /legacy/2.0/ubuntu1604/cuda8.0/devel/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:8.0-devel-ubuntu16.04 2 | 3 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 4 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https unzip -y && \ 5 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 6 | rm -rf /var/lib/apt/lists/* 7 | 8 | # OpenCV 3.1 dependency 9 | RUN apt-get update -y && \ 10 | apt-get install --no-install-recommends build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev -y && \ 11 | wget https://github.com/opencv/opencv/archive/3.1.0.zip && \ 12 | unzip 3.1.0.zip && \ 13 | rm 3.1.0.zip && \ 14 | cd opencv-3.1.0 ; mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=OFF -DBUILD_PERF_TESTS=OFF \ 15 | -DBUILD_TESTS=OFF -DWITH_OPENCL=OFF -DWITH_CUDA=OFF -DBUILD_opencv_apps=OFF -DBUILD_OPENCV_PYTHON2=OFF -DBUILD_OPENCV_PYTHON3=OFF \ 16 | -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr/local .. && \ 17 | make -j8 install && \ 18 | cd ../.. ; rm -rf opencv-3.1.0 && \ 19 | rm -rf /var/lib/apt/lists/* 20 | 21 | RUN apt-get update -y && \ 22 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.0/ubuntu && \ 23 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 24 | rm ZED_SDK_Linux_Ubuntu16.run && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | WORKDIR /usr/local/zed/ 28 | 29 | 30 | -------------------------------------------------------------------------------- /3.X/l4t/py-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true && \ 19 | apt-get install --no-install-recommends zstd lsb-release wget less udev sudo apt-transport-https python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 20 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 21 | python3 -m pip install cython wheel && \ 22 | python3 -m pip install numpy pyopengl && \ 23 | apt-get remove --purge build-essential -y && apt-get autoremove -y && \ 24 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 25 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run -- silent skip_tools && \ 26 | rm -rf /usr/local/zed/resources/* \ 27 | rm -rf ZED_SDK_Linux.run && \ 28 | rm -rf /var/lib/apt/lists/* 29 | 30 | #This symbolic link is needed to use the streaming features on Jetson inside a container 31 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 32 | 33 | WORKDIR /usr/local/zed 34 | -------------------------------------------------------------------------------- /3.X/l4t/py-runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update || true && \ 19 | apt-get install --no-install-recommends zstd lsb-release wget less udev sudo apt-transport-https python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 20 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 21 | python3 -m pip install cython wheel && \ 22 | python3 -m pip install numpy && \ 23 | apt-get remove --purge build-essential python3-dev -y && apt-get autoremove -y && \ 24 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 25 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run -- silent runtime_only && \ 26 | rm -rf /usr/local/zed/resources/* \ 27 | rm -rf ZED_SDK_Linux.run && \ 28 | rm -rf /var/lib/apt/lists/* 29 | 30 | #This symbolic link is needed to use the streaming features on Jetson inside a container 31 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 32 | 33 | WORKDIR /usr/local/zed 34 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1_feature_request.yml: -------------------------------------------------------------------------------- 1 | name: Feature request 🧭 2 | description: Suggest an idea for this project. 3 | labels: "feature request" 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | # Welcome 👋 9 | 10 | Thanks for taking the time to fill out this feature request module. 11 | Please fill out each section below. This info allows Stereolabs developers to correctly evaluate your request. 12 | 13 | Useful Links: 14 | - Documentation: https://www.stereolabs.com/docs/ 15 | - Stereolabs support: https://support.stereolabs.com/hc/en-us/ 16 | - type: checkboxes 17 | attributes: 18 | label: Preliminary Checks 19 | description: Please make sure that you verify each checkbox and follow the instructions for them. 20 | options: 21 | - label: "This issue is not a duplicate. Before opening a new issue, please search existing issues." 22 | required: true 23 | - label: "This issue is not a question, bug report, or anything other than a feature request directly related to this project." 24 | required: true 25 | - type: textarea 26 | attributes: 27 | label: Proposal 28 | description: "What would you like to have as a new feature?" 29 | placeholder: "A clear and concise description of what you want to happen." 30 | validations: 31 | required: true 32 | - type: textarea 33 | attributes: 34 | label: Use-Case 35 | description: "How would this help you?" 36 | placeholder: "Tell us more what you'd like to achieve." 37 | validations: 38 | required: false 39 | - type: textarea 40 | id: anything-else 41 | attributes: 42 | label: Anything else? 43 | description: "Let us know if you have anything else to share" 44 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.8/cu90/ubuntu16 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu16.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Setup ROS 17 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 18 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 19 | apt-get update -y && \ 20 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 21 | rm -rf /var/lib/apt/lists/* 22 | 23 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 24 | usermod -a -G dialout ros && \ 25 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 26 | chown ros /usr/local/zed/ -R 27 | 28 | # switch to user ros, but the HOME is still /, not /home/ros 29 | USER ros 30 | 31 | # setup ros env 32 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 33 | mkdir /home/ros/src 34 | 35 | # cd /home/ros default 36 | WORKDIR /home/ros 37 | 38 | CMD ["bash"] 39 | -------------------------------------------------------------------------------- /legacy/2.2/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.2/ubuntu && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | -------------------------------------------------------------------------------- /legacy/2.3/ubuntu1604/cuda9.1/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.1-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.3/ubuntu && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | -------------------------------------------------------------------------------- /legacy/2.6/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.6/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] -------------------------------------------------------------------------------- /legacy/2.1/ubuntu1604/cuda8.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:8.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https unzip -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.1/ubuntu && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.7/ubuntu16_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | -------------------------------------------------------------------------------- /legacy/2.4/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.4/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | 43 | -------------------------------------------------------------------------------- /legacy/2.5/ubuntu1604/cuda9.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:9.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.5/ubuntu_cuda9 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu16.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 21 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 22 | apt-get update -y && \ 23 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 27 | usermod -a -G dialout ros && \ 28 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 29 | chown ros /usr/local/zed/ -R 30 | 31 | # switch to user ros, but the HOME is still /, not /home/ros 32 | USER ros 33 | 34 | # setup ros env 35 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 36 | mkdir /home/ros/src 37 | 38 | # cd /home/ros default 39 | WORKDIR /home/ros 40 | 41 | CMD ["bash"] 42 | 43 | -------------------------------------------------------------------------------- /legacy/2.8/ubuntu1804/cuda10.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.8/cu100/ubuntu18 && \ 12 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 13 | rm ZED_SDK_Linux_Ubuntu18.run && \ 14 | rm -rf /var/lib/apt/lists/* 15 | 16 | # Setup ROS 17 | RUN apt-get update -y && \ 18 | DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ 19 | sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 20 | apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 21 | apt-get update -y && \ 22 | apt-get install ros-melodic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 23 | rm -rf /var/lib/apt/lists/* 24 | 25 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 26 | usermod -a -G dialout ros && \ 27 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 28 | chown ros /usr/local/zed/ -R 29 | 30 | # switch to user ros, but the HOME is still /, not /home/ros 31 | USER ros 32 | 33 | # setup ros env 34 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/melodic/setup.bash\"" >> /home/ros/.bashrc && \ 35 | mkdir /home/ros/src 36 | 37 | # cd /home/ros default 38 | WORKDIR /home/ros 39 | 40 | CMD ["bash"] 41 | -------------------------------------------------------------------------------- /4.X/l4t/py-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_tools skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | # ZED Python API 27 | RUN apt-get update -y || true ; apt-get install --no-install-recommends python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 28 | wget download.stereolabs.com/zedsdk/pyzed -O /usr/local/zed/get_python_api.py && \ 29 | python3 -m pip install requests && \ 30 | python3 /usr/local/zed/get_python_api.py && \ 31 | python3 -m pip install cython wheel && \ 32 | python3 -m pip install numpy pyopengl *.whl && \ 33 | apt-get remove --purge build-essential -y && apt-get autoremove -y && \ 34 | rm *.whl ; rm -rf /var/lib/apt/lists/* 35 | 36 | #This symbolic link is needed to use the streaming features on Jetson inside a container 37 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 38 | 39 | WORKDIR /usr/local/zed 40 | -------------------------------------------------------------------------------- /5.X/l4t/py-devel/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent skip_tools skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | # ZED Python API 27 | RUN apt-get update -y || true ; apt-get install --no-install-recommends python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 28 | wget download.stereolabs.com/zedsdk/pyzed -O /usr/local/zed/get_python_api.py && \ 29 | python3 -m pip install requests && \ 30 | python3 /usr/local/zed/get_python_api.py && \ 31 | python3 -m pip install cython wheel && \ 32 | python3 -m pip install numpy pyopengl *.whl && \ 33 | apt-get remove --purge build-essential -y && apt-get autoremove -y && \ 34 | rm *.whl ; rm -rf /var/lib/apt/lists/* 35 | 36 | #This symbolic link is needed to use the streaming features on Jetson inside a container 37 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 38 | 39 | WORKDIR /usr/local/zed 40 | -------------------------------------------------------------------------------- /4.X/l4t/py-runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent runtime_only skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | # ZED Python API 27 | RUN apt-get update -y || true ; apt-get install --no-install-recommends python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 28 | wget download.stereolabs.com/zedsdk/pyzed -O /usr/local/zed/get_python_api.py && \ 29 | python3 -m pip install requests && \ 30 | python3 /usr/local/zed/get_python_api.py && \ 31 | python3 -m pip install cython wheel && \ 32 | python3 -m pip install numpy *.whl && \ 33 | apt-get remove --purge build-essential python3-dev requests -y && apt-get autoremove -y && \ 34 | rm *.whl ; rm -rf /var/lib/apt/lists/* 35 | 36 | #This symbolic link is needed to use the streaming features on Jetson inside a container 37 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 38 | 39 | WORKDIR /usr/local/zed 40 | -------------------------------------------------------------------------------- /5.X/l4t/py-runtime/Dockerfile: -------------------------------------------------------------------------------- 1 | #https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base 2 | ARG L4T_MAJOR_VERSION 3 | ARG L4T_MINOR_VERSION 4 | ARG L4T_PATCH_VERSION 5 | ARG L4T_BASE_IMAGE 6 | 7 | FROM nvcr.io/nvidia/${L4T_BASE_IMAGE}:r${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION} 8 | 9 | ARG L4T_MAJOR_VERSION 10 | ARG L4T_MINOR_VERSION 11 | ARG L4T_PATCH_VERSION 12 | ARG ZED_SDK_MAJOR 13 | ARG ZED_SDK_MINOR 14 | 15 | #This environment variable is needed to use the streaming features on Jetson inside a container 16 | ENV LOGNAME root 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN apt-get update -y || true ; apt-get install --no-install-recommends lsb-release wget less zstd udev sudo apt-transport-https -y && \ 19 | echo "# R${L4T_MAJOR_VERSION} (release), REVISION: ${L4T_MINOR_VERSION}.${L4T_PATCH_VERSION}" > /etc/nv_tegra_release ; \ 20 | wget -q --no-check-certificate -O ZED_SDK_Linux.run https://download.stereolabs.com/zedsdk/${ZED_SDK_MAJOR}.${ZED_SDK_MINOR}/l4t${L4T_MAJOR_VERSION}.${L4T_MINOR_VERSION}/jetsons && \ 21 | chmod +x ZED_SDK_Linux.run ; ./ZED_SDK_Linux.run silent runtime_only skip_drivers && \ 22 | rm -rf /usr/local/zed/resources/* \ 23 | rm -rf ZED_SDK_Linux.run && \ 24 | rm -rf /var/lib/apt/lists/* 25 | 26 | # ZED Python API 27 | RUN apt-get update -y || true ; apt-get install --no-install-recommends python3 python3-pip python3-dev python3-setuptools build-essential -y && \ 28 | wget download.stereolabs.com/zedsdk/pyzed -O /usr/local/zed/get_python_api.py && \ 29 | python3 -m pip install requests && \ 30 | python3 /usr/local/zed/get_python_api.py && \ 31 | python3 -m pip install cython wheel && \ 32 | python3 -m pip install numpy *.whl && \ 33 | apt-get remove --purge build-essential python3-dev requests -y && apt-get autoremove -y && \ 34 | rm *.whl ; rm -rf /var/lib/apt/lists/* 35 | 36 | #This symbolic link is needed to use the streaming features on Jetson inside a container 37 | RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so 38 | 39 | WORKDIR /usr/local/zed 40 | -------------------------------------------------------------------------------- /legacy/2.7/ubuntu1804/cuda10.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:10.0-devel-ubuntu18.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | RUN apt-get update -y && \ 14 | wget -O ZED_SDK_Linux_Ubuntu18.run https://download.stereolabs.com/zedsdk/2.7/ubuntu18 && \ 15 | chmod +x ZED_SDK_Linux_Ubuntu18.run ; ./ZED_SDK_Linux_Ubuntu18.run silent && \ 16 | rm ZED_SDK_Linux_Ubuntu18.run && \ 17 | rm -rf /var/lib/apt/lists/* 18 | 19 | # Setup ROS 20 | RUN apt-get update -y && \ 21 | DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ 22 | sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 23 | apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 24 | apt-get update -y && \ 25 | apt-get install ros-melodic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 26 | rm -rf /var/lib/apt/lists/* 27 | 28 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 29 | usermod -a -G dialout ros && \ 30 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 31 | chown ros /usr/local/zed/ -R 32 | 33 | # switch to user ros, but the HOME is still /, not /home/ros 34 | USER ros 35 | 36 | # setup ros env 37 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/melodic/setup.bash\"" >> /home/ros/.bashrc && \ 38 | mkdir /home/ros/src 39 | 40 | # cd /home/ros default 41 | WORKDIR /home/ros 42 | 43 | CMD ["bash"] 44 | -------------------------------------------------------------------------------- /legacy/2.0/ubuntu1604/cuda8.0/ros/Dockerfile: -------------------------------------------------------------------------------- 1 | # Need nvidia-docker to run https://github.com/NVIDIA/nvidia-docker 2 | # Image from https://gitlab.com/nvidia/cuda/ 3 | FROM nvidia/cuda:8.0-devel-ubuntu16.04 4 | 5 | # The runtime image might be enough, depending on the need 6 | 7 | # Setup the ZED SDK 8 | RUN apt-get update -y && apt-get upgrade -y && apt-get autoremove -y && \ 9 | apt-get install --no-install-recommends lsb-release wget less udev sudo apt-transport-https unzip -y && \ 10 | echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | # OpenCV 3.1 dependency 14 | RUN apt-get update -y && \ 15 | apt-get install --no-install-recommends build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev \ 16 | libswscale-dev -y && \ 17 | wget https://github.com/opencv/opencv/archive/3.1.0.zip && \ 18 | unzip 3.1.0.zip && \ 19 | rm 3.1.0.zip && \ 20 | cd opencv-3.1.0 ; mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS=OFF -DBUILD_PERF_TESTS=OFF \ 21 | -DBUILD_TESTS=OFF -DWITH_OPENCL=OFF -DWITH_CUDA=OFF -DBUILD_opencv_apps=OFF -DBUILD_OPENCV_PYTHON2=OFF -DBUILD_OPENCV_PYTHON3=OFF \ 22 | -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr/local .. && \ 23 | make -j8 install && \ 24 | cd ../.. ; rm -rf opencv-3.1.0 && \ 25 | rm -rf /var/lib/apt/lists/* 26 | 27 | RUN apt-get update -y && \ 28 | wget -O ZED_SDK_Linux_Ubuntu16.run https://download.stereolabs.com/zedsdk/2.0/ubuntu && \ 29 | chmod +x ZED_SDK_Linux_Ubuntu16.run ; ./ZED_SDK_Linux_Ubuntu16.run silent && \ 30 | rm ZED_SDK_Linux_Ubuntu16.run && \ 31 | rm -rf /var/lib/apt/lists/* 32 | 33 | # Setup ROS 34 | RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \ 35 | apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \ 36 | apt-get update -y && \ 37 | apt-get install ros-kinetic-desktop-full python-rosinstall python-rosinstall-generator python-wstool build-essential nano cmake usbutils git -y --allow-unauthenticated && \ 38 | rm -rf /var/lib/apt/lists/* 39 | 40 | RUN adduser --gecos "ROS User" --home /home/ros --disabled-password ros && \ 41 | usermod -a -G dialout ros && \ 42 | echo "ros ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/99_aptget && \ 43 | chown ros /usr/local/zed/ -R 44 | 45 | # switch to user ros, but the HOME is still /, not /home/ros 46 | USER ros 47 | 48 | # setup ros env 49 | RUN sudo rosdep init && rosdep update && echo "source \"/opt/ros/kinetic/setup.bash\"" >> /home/ros/.bashrc && \ 50 | mkdir /home/ros/src 51 | 52 | # cd /home/ros default 53 | WORKDIR /home/ros 54 | 55 | CMD ["bash"] 56 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2_bug_report.yml: -------------------------------------------------------------------------------- 1 | name: Bug Report 🐛 2 | description: Something isn't working as expected? Report your bugs here. 3 | labels: "bug" 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | # Welcome 👋 9 | 10 | Thanks for taking the time to fill out this bug report. 11 | Please fill out each section below. This info allows Stereolabs developers to diagnose (and fix!) your issue as quickly as possible. Otherwise we might need to close the issue without e.g. clear reproduction steps. 12 | 13 | Bug reports also shoulnd't be used for generic questions, please use the [Stereolabs Community forum](https://community.stereolabs.com/) instead. 14 | 15 | Useful Links: 16 | - Documentation: https://www.stereolabs.com/docs/ 17 | - Stereolabs support: https://support.stereolabs.com/hc/en-us/ 18 | - type: checkboxes 19 | attributes: 20 | label: Preliminary Checks 21 | description: Please make sure that you verify each checkbox and follow the instructions for them. 22 | options: 23 | - label: "This issue is not a duplicate. Before opening a new issue, please search existing issues." 24 | required: true 25 | - label: "This issue is not a question, feature request, or anything other than a bug report directly related to this project." 26 | required: true 27 | - type: textarea 28 | attributes: 29 | label: Description 30 | description: Describe the issue that you're seeing. 31 | placeholder: Be as precise as you can. Feel free to share screenshots, videos, or data. The more information you provide the easier will be to provide you with a fast solution. 32 | validations: 33 | required: true 34 | - type: textarea 35 | attributes: 36 | label: Steps to Reproduce 37 | description: Clear steps describing how to reproduce the issue. 38 | value: | 39 | 1. 40 | 2. 41 | 3. 42 | ... 43 | validations: 44 | required: true 45 | - type: textarea 46 | attributes: 47 | label: Expected Result 48 | description: Describe what you expected to happen. 49 | validations: 50 | required: true 51 | - type: textarea 52 | attributes: 53 | label: Actual Result 54 | description: Describe what actually happened. 55 | validations: 56 | required: true 57 | - type: dropdown 58 | attributes: 59 | label: ZED Camera model 60 | description: What model of ZED camera are you using? 61 | options: 62 | - "ZED" 63 | - "ZED Mini" 64 | - "ZED2" 65 | - "ZED2i" 66 | validations: 67 | required: true 68 | - type: textarea 69 | attributes: 70 | label: Environment 71 | render: shell 72 | description: Useful information about your system. 73 | placeholder: | 74 | OS: Operating System 75 | CPU: e.g. ARM 76 | GPU: Nvidia Jetson Xavier NX 77 | ZED SDK version: e.g. v3.5.3 78 | Other info: e.g. ROS Melodic 79 | validations: 80 | required: true 81 | - type: textarea 82 | attributes: 83 | label: Anything else? 84 | description: Please add any other information or comment that you think may be useful for solving the problem 85 | placeholder: 86 | validations: 87 | required: false 88 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: docker:stable 2 | 3 | stages: 4 | - build_zed_docker 5 | 6 | 7 | .tag_docker_target: 8 | tags: &tag_docker_target_definition 9 | - shell-builder 10 | - linux 11 | - big-storage 12 | 13 | .tag_docker_qemu_target: 14 | tags: &tag_docker_qemu_target_definition 15 | - shell-builder 16 | - linux 17 | - big-storage 18 | - qemu-support 19 | 20 | .before_script_docker: 21 | before_script: &before_script_docker_definition 22 | - sudo chmod +x ./zed-docker/.ci/build_desktop_images.sh 23 | - export ZED_SDK_MAJOR=$(grep "#define ZED_SDK_MAJOR_VERSION" ./lib/include/sl_zed/defines.hpp | tr -dc '0-9') 24 | - export ZED_SDK_MINOR=$(grep "#define ZED_SDK_MINOR_VERSION" ./lib/include/sl_zed/defines.hpp | tr -dc '0-9') 25 | 26 | #services: 27 | # - docker:stable-dind 28 | 29 | # .build_and_push_image_template: &build_image_push_definition 30 | # stage: build_zed_docker 31 | # script: 32 | # - .ci/build_desktop_images.sh 33 | # tags: *tag_docker_target_definition 34 | # dependencies: [] 35 | 36 | # .build_and_push_image_jetson_template: &build_image_push_jetson_definition 37 | # stage: build_zed_docker 38 | # script: 39 | # - ./zed-docker/.ci/build_jetson_images.sh 40 | # tags: *tag_docker_qemu_target_definition 41 | # dependencies: [] 42 | 43 | ############################ 44 | 45 | # BUILD and PUSH 46 | ## U 20 47 | u20-cuda11.8_push: 48 | stage: build_zed_docker 49 | before_script: *before_script_docker_definition 50 | script: 51 | - export CUDA_MAJOR="11"; export CUDA_MINOR="8.0"; export CUDA_MINOR_NO_PATCH="8"; export UBUNTU_RELEASE_YEAR="20"; 52 | - export IMAGE_VARIANT="gl-devel"; ./zed-docker/.ci/build_desktop_images.sh 53 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_desktop_images.sh 54 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_desktop_images.sh 55 | tags: *tag_docker_target_definition 56 | dependencies: [] 57 | rules: 58 | - when: manual 59 | # needs: 60 | # - pipeline: $PARENT_PIPELINE_ID 61 | # job: u20_cu118_build 62 | 63 | u20-cuda12.8_push: 64 | stage: build_zed_docker 65 | before_script: *before_script_docker_definition 66 | script: 67 | - export CUDA_MAJOR="12"; export CUDA_MINOR="8.1"; export CUDA_MINOR_NO_PATCH="8"; export UBUNTU_RELEASE_YEAR="20"; 68 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_desktop_images.sh 69 | - export IMAGE_VARIANT="gl-devel"; ./zed-docker/.ci/build_desktop_images.sh 70 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_desktop_images.sh 71 | tags: *tag_docker_target_definition 72 | dependencies: [] 73 | rules: 74 | - when: manual 75 | 76 | ## U 22 77 | u22-cuda11.8_push: 78 | stage: build_zed_docker 79 | before_script: *before_script_docker_definition 80 | script: 81 | - export CUDA_MAJOR="11"; export CUDA_MINOR="8.0"; export CUDA_MINOR_NO_PATCH="8"; export UBUNTU_RELEASE_YEAR="22"; 82 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_desktop_images.sh 83 | - export IMAGE_VARIANT="gl-devel"; ./zed-docker/.ci/build_desktop_images.sh 84 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_desktop_images.sh 85 | tags: *tag_docker_target_definition 86 | dependencies: [] 87 | rules: 88 | - when: manual 89 | 90 | u22-cuda12.8_push: 91 | stage: build_zed_docker 92 | before_script: *before_script_docker_definition 93 | script: 94 | - export CUDA_MAJOR="12"; export CUDA_MINOR="8.1"; export CUDA_MINOR_NO_PATCH="8"; export UBUNTU_RELEASE_YEAR="22"; 95 | - export IMAGE_VARIANT="gl-devel"; ./zed-docker/.ci/build_desktop_images.sh 96 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_desktop_images.sh 97 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_desktop_images.sh 98 | tags: *tag_docker_target_definition 99 | dependencies: [] 100 | rules: 101 | - when: manual 102 | 103 | ## U24 104 | u24-cuda12.8_push: 105 | stage: build_zed_docker 106 | before_script: *before_script_docker_definition 107 | script: 108 | - export CUDA_MAJOR="12"; export CUDA_MINOR="8.1"; export CUDA_MINOR_NO_PATCH="8"; export UBUNTU_RELEASE_YEAR="24"; 109 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_desktop_images.sh 110 | - export IMAGE_VARIANT="gl-devel"; ./zed-docker/.ci/build_desktop_images.sh 111 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_desktop_images.sh 112 | tags: *tag_docker_target_definition 113 | dependencies: [] 114 | rules: 115 | - when: manual 116 | 117 | ### JETSON 118 | 119 | ## l4t 35.3 120 | l4t35.3_push: 121 | stage: build_zed_docker 122 | before_script: *before_script_docker_definition 123 | script: 124 | - export JETPACK_MAJOR="5"; export JETPACK_MINOR="1.1"; export L4T_MAJOR_VERSION="35"; export L4T_MINOR_VERSION="3"; export L4T_PATCH_VERSION="1"; export L4T_BASE_IMAGE="l4t-jetpack" 125 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_jetson_images.sh 126 | - export IMAGE_VARIANT="py-devel"; ./zed-docker/.ci/build_jetson_images.sh 127 | - export IMAGE_VARIANT="py-runtime"; ./zed-docker/.ci/build_jetson_images.sh 128 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_jetson_images.sh 129 | - export IMAGE_VARIANT="tools-devel"; ./zed-docker/.ci/build_jetson_images.sh 130 | tags: *tag_docker_qemu_target_definition 131 | dependencies: [] 132 | rules: 133 | - when: manual 134 | 135 | ## l4t 35.4 136 | l4t35.4_push: 137 | stage: build_zed_docker 138 | before_script: *before_script_docker_definition 139 | script: 140 | - export JETPACK_MAJOR="5"; export JETPACK_MINOR="1.2"; export L4T_MAJOR_VERSION="35"; export L4T_MINOR_VERSION="4"; export L4T_PATCH_VERSION="1"; export L4T_BASE_IMAGE="l4t-jetpack" 141 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_jetson_images.sh 142 | - export IMAGE_VARIANT="py-devel"; ./zed-docker/.ci/build_jetson_images.sh 143 | - export IMAGE_VARIANT="py-runtime"; ./zed-docker/.ci/build_jetson_images.sh 144 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_jetson_images.sh 145 | - export IMAGE_VARIANT="tools-devel"; ./zed-docker/.ci/build_jetson_images.sh 146 | tags: *tag_docker_qemu_target_definition 147 | dependencies: [] 148 | rules: 149 | - when: manual 150 | 151 | ## l4t 36.3 152 | l4t36.3_push: 153 | stage: build_zed_docker 154 | before_script: *before_script_docker_definition 155 | script: 156 | - export JETPACK_MAJOR="6"; export JETPACK_MINOR="0.0"; export L4T_MAJOR_VERSION="36"; export L4T_MINOR_VERSION="3"; export L4T_PATCH_VERSION="0"; export L4T_BASE_IMAGE="l4t-jetpack" 157 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_jetson_images.sh 158 | - export IMAGE_VARIANT="py-devel"; ./zed-docker/.ci/build_jetson_images.sh 159 | - export IMAGE_VARIANT="py-runtime"; ./zed-docker/.ci/build_jetson_images.sh 160 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_jetson_images.sh 161 | - export IMAGE_VARIANT="tools-devel"; ./zed-docker/.ci/build_jetson_images.sh 162 | tags: *tag_docker_qemu_target_definition 163 | dependencies: [] 164 | rules: 165 | - when: manual 166 | 167 | ## l4t 36.4 168 | l4t36.4_push: 169 | stage: build_zed_docker 170 | before_script: *before_script_docker_definition 171 | script: 172 | - export JETPACK_MAJOR="6"; export JETPACK_MINOR="1.0"; export L4T_MAJOR_VERSION="36"; export L4T_MINOR_VERSION="4"; export L4T_PATCH_VERSION="0"; export L4T_BASE_IMAGE="l4t-jetpack" 173 | - export IMAGE_VARIANT="devel"; ./zed-docker/.ci/build_jetson_images.sh 174 | - export IMAGE_VARIANT="py-devel"; ./zed-docker/.ci/build_jetson_images.sh 175 | - export IMAGE_VARIANT="py-runtime"; ./zed-docker/.ci/build_jetson_images.sh 176 | - export IMAGE_VARIANT="runtime"; ./zed-docker/.ci/build_jetson_images.sh 177 | - export IMAGE_VARIANT="tools-devel"; ./zed-docker/.ci/build_jetson_images.sh 178 | tags: *tag_docker_qemu_target_definition 179 | dependencies: [] 180 | rules: 181 | - when: manual -------------------------------------------------------------------------------- /dockerhub.md: -------------------------------------------------------------------------------- 1 | # ZED SDK Docker Images 2 | 3 | These images let you use the ZED SDK with docker, even with the ZED camera connected (or an SVO file). 4 | https://github.com/stereolabs/zed-docker 5 | 6 | ## Base Image Tags 7 | 8 | All images are based on Nvidia CUDA. You need nvidia-docker to run them, see below. 9 | Please note that these images **can't** run graphical programs, including the tools. It requires openGL support (see `gl-devel` tags). **All desktop images now include the ZED Python API.** 10 | 11 | - `runtime` images are the lightest and comes with every dependency installed. It's only meant to run applications linked with the ZED SDK. 12 | 13 | - `devel` images contains all development tools to compile application including the cuda toolchain, static libraries, and headers of CUDA and the ZED SDK. 14 | 15 | - `gl-devel` images include openGL support to be able to run the tools and sample. It also contains the development tools similarly to `devel` image. Please note that some images variants are not available since Nvidia didn't release image for recent version of CUDA and Ubuntu https://gitlab.com/nvidia/container-images/cuda/-/issues/147 16 | 17 | ## Jetson specific tags 18 | 19 | This the jetsons are usually much more limited in storage, more variants are available to limit the disk space usage. Unlike the desktop images, the OpenGL support is included from the base image provided by Nvidia, and therefore available on all images. 20 | 21 | - `py-devel` images contains all development tools to develop applications that uses ZED Python API. 22 | 23 | - `py-runtime` images are the lightest and comes with every dependency installed. It's only meant to run applications that uses the ZED Python API. 24 | 25 | - `tools-devel` images include the tools and sample and the development tools similarly to `devel` image. It is the most complete and biggest image. 26 | 27 | ## LATEST ZED SDK 4.0 tags 28 | 29 | ### Ubuntu 22.04 30 | 31 | CUDA 12.1 32 | 33 | - [`4.0-runtime-cuda12.1-ubuntu22.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 34 | - [`4.0-devel-cuda12.1-ubuntu22.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 35 | 36 | CUDA 11.8 37 | 38 | - [`4.0-runtime-cuda11.8-ubuntu22.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 39 | - [`4.0-devel-cuda11.8-ubuntu22.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 40 | 41 | ### Ubuntu 20.04 42 | 43 | CUDA 12.1 44 | 45 | - [`4.0-runtime-cuda12.1-ubuntu20.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 46 | - [`4.0-devel-cuda12.1-ubuntu20.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 47 | 48 | CUDA 11.8 49 | 50 | - [`4.0-runtime-cuda11.8-ubuntu20.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 51 | - [`4.0-devel-cuda11.8-ubuntu20.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 52 | - [`4.0-gl-devel-cuda11.4-ubuntu20.04` (*4.X/ubuntu/devel-gl/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel-gl/Dockerfile) 53 | 54 | ### Ubuntu 18.04 (deprecated) 55 | 56 | CUDA 11.8 57 | 58 | - [`4.0-runtime-cuda11.8-ubuntu18.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 59 | - [`4.0-devel-cuda11.8-ubuntu18.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 60 | - [`4.0-gl-devel-cuda11.4-ubuntu18.04` (*4.X/ubuntu/devel-gl/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel-gl/Dockerfile) 61 | 62 | CUDA 10.2 63 | 64 | - [`4.0-runtime-cuda10.2-ubuntu18.04` (*4.X/ubuntu/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/runtime/Dockerfile) 65 | - [`4.0-devel-cuda10.2-ubuntu18.04` (*4.X/ubuntu/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel/Dockerfile) 66 | - [`4.0-gl-devel-cuda10.2-ubuntu18.04` (*4.X/ubuntu/devel-gl/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/ubuntu/devel-gl/Dockerfile) 67 | 68 | ### Jetson L4T 35 (JetPack 5) 69 | 70 | L4T 35.3 (JP 5.1.1) 71 | 72 | - [`4.0-devel-jetson-jp5.1.1`, `4.0-devel-l4t-r35.3` (*4.X/l4t/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile) 73 | - [`4.0-runtime-jetson-jp5.1.1`, `4.0-runtime-l4t-r35.3` (*4.X/l4t/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/runtime/Dockerfile) 74 | - [`4.0-py-devel-jetson-jp5.1.1`, `4.0-py-devel-l4t-r35.3` (*4.X/l4t/py-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-devel/Dockerfile) 75 | - [`4.0-py-runtime-jetson-jp5.1.1`, `4.0-py-runtime-l4t-r35.3` (*4.X/l4t/py-runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-runtime/Dockerfile) 76 | - [`4.0-tools-devel-jetson-jp5.1.1`, `4.0-tools-devel-l4t-r35.3` (*4.X/l4t/tools-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/tools-devel/Dockerfile) 77 | 78 | L4T 35.2 (JP 5.1.0) 79 | 80 | - [`4.0-devel-jetson-jp5.1.0`, `4.0-devel-l4t-r35.2` (*4.X/l4t/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile) 81 | - [`4.0-runtime-jetson-jp5.1.0`, `4.0-runtime-l4t-r35.2` (*4.X/l4t/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/runtime/Dockerfile) 82 | - [`4.0-py-devel-jetson-jp5.1.0`, `4.0-py-devel-l4t-r35.2` (*4.X/l4t/py-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-devel/Dockerfile) 83 | - [`4.0-py-runtime-jetson-jp5.1.0`, `4.0-py-runtime-l4t-r35.2` (*4.X/l4t/py-runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-runtime/Dockerfile) 84 | - [`4.0-tools-devel-jetson-jp5.1.0`, `4.0-tools-devel-l4t-r35.2` (*4.X/l4t/tools-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/tools-devel/Dockerfile) 85 | 86 | 87 | L4T 35.1 (JP 5.0.2) 88 | 89 | - [`4.0-devel-jetson-jp5.0.2`, `4.0-devel-l4t-r35.1` (*4.X/l4t/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile) 90 | - [`4.0-runtime-jetson-jp5.0.2`, `4.0-runtime-l4t-r35.1` (*4.X/l4t/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/runtime/Dockerfile) 91 | - [`4.0-py-devel-jetson-jp5.0.2`, `4.0-py-devel-l4t-r35.1` (*4.X/l4t/py-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-devel/Dockerfile) 92 | - [`4.0-py-runtime-jetson-jp5.0.2`, `4.0-py-runtime-l4t-r35.1` (*4.X/l4t/py-runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-runtime/Dockerfile) 93 | - [`4.0-tools-devel-jetson-jp5.0.2`, `4.0-tools-devel-l4t-r35.1` (*4.X/l4t/tools-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/tools-devel/Dockerfile) 94 | 95 | ### Jetson L4T 32 (JetPack 4) 96 | 97 | L4T 32.7 (JP 4.6.X) 98 | 99 | - [`4.0-devel-jetson-jp4.6.1`, `4.0-devel-l4t-r32.7` (*4.X/l4t/devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/devel/Dockerfile) 100 | - [`4.0-runtime-jetson-jp4.6.1`, `4.0-runtime-l4t-r32.7` (*4.X/l4t/runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/runtime/Dockerfile) 101 | - [`4.0-py-devel-jetson-jp4.6.1`, `4.0-py-devel-l4t-r32.7` (*4.X/l4t/py-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-devel/Dockerfile) 102 | - [`4.0-py-runtime-jetson-jp4.6.1`, `4.0-py-runtime-l4t-r32.7` (*4.X/l4t/py-runtime/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/py-runtime/Dockerfile) 103 | - [`4.0-tools-devel-jetson-jp4.6.1`, `4.0-tools-devel-l4t-r32.7` (*4.X/l4t/tools-devel/Dockerfile*)](https://github.com/stereolabs/zed-docker/blob/master/4.X/l4t/tools-devel/Dockerfile) 104 | 105 | ## Running Containers 106 | 107 | ```bash 108 | docker run --gpus all -it --privileged stereolabs/zed:4.0-runtime-cuda11.8-ubuntu18.04 109 | ``` 110 | 111 | `--privileged` option is used to pass through all the device to the docker container, it might not be very safe but provides an easy solution to connect the USB3 camera to the container. 112 | 113 | ### Display support 114 | 115 | To run it, we need to add the right to connect to the X server : 116 | ​ 117 | ```bash 118 | xhost +si:localuser:root 119 | ``` 120 | ​ 121 | Then to run it : 122 | ​ 123 | ```bash 124 | docker run --gpus all -it --privileged -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix stereolabs/zed:4.0-gl-devel-cuda11.4-ubuntu18.04 125 | ``` 126 | ​ 127 | Any OpenGL tools are now able to run, for instance : 128 | ``` 129 | /usr/local/zed/tools/ZED_Explorer 130 | ``` 131 | 132 | ## Notes 133 | 134 | ### Docker Setup 135 | 136 | Since we need CUDA, **NVIDIA Container Toolkit must be used** (except for compilation only). 137 | 138 | Follow the instructions at https://github.com/NVIDIA/nvidia-docker 139 | 140 | ### Using docker on Tegra 141 | 142 | With the [recently added support](https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-Container-Runtime-on-Jetson) of nvidia docker, it is now possible to run the ZED SDK inside docker on Jetson. We now provide a compatible image : 143 | 144 | ```bash 145 | docker pull stereolabs/zed:4.0-devel-l4t-r35.1 146 | ``` 147 | 148 | The image is based on the [NVIDIA L4T image](https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base). 149 | 150 | ## More information 151 | 152 | [Check out the README on Github](https://github.com/stereolabs/zed-docker) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Docker with the ZED SDK 2 | 3 | These images let you use the ZED SDK with docker, even with the ZED camera connected (or an SVO file) 4 | 5 | ## Getting started 6 | 7 | ### Setup Docker 8 | 9 | Since we need CUDA, **NVIDIA Container Toolkit must be used** (except for compilation only). 10 | 11 | Follow the instructions at https://github.com/NVIDIA/nvidia-docker 12 | 13 | Once NVIDIA Container Toolkit is installed, make sure it runs fine by launching : 14 | 15 | docker run --gpus all --rm nvidia/cuda nvidia-smi 16 | 17 | ### Pull the image from docker hub 18 | 19 | All the available images can be found at [docker hub](https://hub.docker.com/r/stereolabs/zed/) 20 | 21 | docker pull stereolabs/zed:4.0-runtime-cuda11.8-ubuntu20.04 22 | docker run --gpus all -it --privileged stereolabs/zed:4.0-runtime-cuda11.8-ubuntu20.04 23 | 24 | `--privileged` option is used to pass through all the device to the docker container, it might not be very safe but provides an easy solution to connect the USB3 camera to the container. 25 | 26 | 27 | --- 28 | 29 | When using the **object detection module**, a volume should be used to store the model and optimized model to avoid re-downloading it and re-optimizing it every time. 30 | 31 | docker run --gpus all -it --privileged -v /usr/local/zed/resources:/usr/local/zed/resources stereolabs/zed:4.0-runtime-cuda11.8-ubuntu20.04 32 | 33 | Note : On the host it can point to an other folder than `/usr/local/zed/resources` (for instance `-v /mnt/SSD/zed_data:/usr/local/zed/resources`) 34 | 35 | ### Network support 36 | 37 | By default the host networks are not accessible from a docker container, they're isolated while keeping an external connection (like internet access), it's a bridge. To remove network isolation, for instance, to use the ZED streaming sample, the `network` option needs to be set to `host` : 38 | 39 | ``` 40 | docker run --gpus all -it --privileged --network=host stereolabs/zed:4.0-runtime-cuda11.8-ubuntu20.04 41 | ``` 42 | 43 | There are other network options, refer to [the docker network documentation](https://docs.docker.com/network/) for more information. 44 | 45 | ### Display support 46 | 47 | A container is also available with OpenGL display support (from [nvidia/cudagl container](https://gitlab.com/nvidia/cudagl)). It is mandatory to open the tools from within an image. 48 | 49 | docker pull stereolabs/zed:4.0-gl-devel-cuda11.4-ubuntu20.04 50 | 51 | To run it, we need to add the right to connect to the X server : 52 | 53 | xhost +si:localuser:root 54 | 55 | While being simple, please note that this can be a security concern, considering the right given to the container. 56 | 57 | Then to run it : 58 | 59 | docker run --gpus all -it --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix stereolabs/zed:4.0-gl-devel-cuda11.4-ubuntu20.04 60 | 61 | Any OpenGL tools are now able to run, for instance : 62 | 63 | /usr/local/zed/tools/ZED\ Explorer 64 | 65 | For more information on the display usage checkout the [ROS documentation about using Docker with X server](http://wiki.ros.org/docker/Tutorials/GUI). 66 | 67 | ### USB connection 68 | 69 | The camera connection can be verified using `lsusb`: 70 | 71 | lsusb -d 2b03: -vvv 72 | 73 | ## Jetson images 74 | 75 | ### Using docker on Tegra 76 | 77 | With the [recently added support](https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-Container-Runtime-on-Jetson) of nvidia docker, it is now possible to run the ZED SDK inside docker on Jetson. We now provide a compatible image : 78 | 79 | ```bash 80 | docker pull stereolabs/zed:5.0-devel-l4t-r36.4 81 | ``` 82 | 83 | One exemple of DockerFile can be found [here](4.X/l4t/devel/Dockerfile). The image is based on the [NVIDIA L4T image](https://ngc.nvidia.com/catalog/containers/nvidia:l4t-base). 84 | 85 | ### Building the image 86 | 87 | The image can either be built on the jetson directly or on Desktop `x86_64` using emulation. 88 | 89 | To setup a `x86_64` host to build `aarch64` image, [QEMU](https://www.qemu.org/) needs to be installed and configured by running : 90 | 91 | 92 | ```bash 93 | sudo apt-get install qemu binfmt-support qemu-user-static # Set up the qemu packages 94 | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # This step will execute the registering scripts 95 | ``` 96 | 97 | Testing the emulation by running a `aarch64` image on desktop : 98 | 99 | ```bash 100 | docker run --rm -t arm64v8/ubuntu uname -m 101 | 102 | aarch64 # -> emulation is working 103 | ``` 104 | 105 | The installation was successful, the emulation is working. At this point we can now run `aarch64` programs on the host `x86_64` PC. 106 | 107 | ```bash 108 | cd 4.X/l4t/devel 109 | docker build --build-arg L4T_MAJOR_VERSION=35 \ 110 | --build-arg L4T_MINOR_VERSION=2 \ 111 | --build-arg L4T_PATCH_VERSION=1 \ 112 | --build-arg ZED_SDK_MAJOR=4 \ 113 | --build-arg ZED_SDK_MINOR=0 \ 114 | --build-arg JETPACK_MAJOR=5 \ 115 | --build-arg JETPACK_MINOR=1.0 \ 116 | --build-arg L4T_BASE_IMAGE="l4t-jetpack" \ 117 | -t zed:4.0-devel-l4t-r35.2 . 118 | ``` 119 | 120 | Unfortunately it is not possible to emulate CUDA accelerated program with QEMU. 121 | 122 | ## Running the image on Jetson natively 123 | 124 | A typical full command for ZED2i/ZEDX would be: 125 | 126 | ```bash 127 | sudo docker run --runtime=nvidia -v /tmp/argus_socket:/tmp/argus_socket -v /var/nvidia/nvcam/settings/:/var/nvidia/nvcam/settings/ -v /etc/systemd/system:/etc/systemd/system -v /usr/local/zed/settings/:/usr/local/zed/settings/ -v /usr/local/zed/resources/:/usr/local/zed/resources/ -v /etc/systemd/system/zed_x_daemon.service:/etc/systemd/system/zed_x_daemon.service -v /dev:/dev -v /tmp:/tmp --ipc=host --pid=host -e NVIDIA_DRIVER_CAPABILITIES=all -e DISPLAY=$DISPLAY -it --privileged --network=host stereolabs/zed:5.0-tools-devel-l4t-r36.4 128 | ``` 129 | 130 | This will mount all the necessary folders for GMSL communication, display and calibration, and AI model. The tools are also available. 131 | 132 | ## Troubleshooting 133 | 134 | ### Nvidia driver libraries missing in the container 135 | 136 | - "`libcuda.so.1` is not found" : make sure to run the image with `--gpus all` (or specify the GPU ID). It allows docker to mount the host driver into the image. 137 | 138 | - "`libnvcuvid.so.1` is not found" : make sure to run the image with `--gpus 'all,"capabilities=compute,video"'` or `-e NVIDIA_DRIVER_CAPABILITIES=all --gpus all`. It allows docker to mount the host driver, including the hardware decoding library into the image. 139 | 140 | ### Compiling issues 141 | 142 | - `CUDA_CUDA_LIBRARY` not found when running cmake configuration 143 | ``` 144 | CMake Error: The following variables are used in this project, but they are set to NOTFOUND. 145 | Please set them or make sure they are set and tested correctly in the CMake files: 146 | CUDA_CUDA_LIBRARY (ADVANCED) 147 | ``` 148 | - Missing `libnvcuvid.so.1` 149 | ``` 150 | /usr/bin/ld: warning: libnvcuvid.so.1, needed by /usr/local/zed/lib/libsl_zed.so, not found (try using -rpath or -rpath-link) 151 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidDestroyDecoder' 152 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidUnmapVideoFrame64' 153 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidDestroyVideoParser' 154 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidMapVideoFrame64' 155 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidCtxLockCreate' 156 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidGetDecoderCaps' 157 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidParseVideoData' 158 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidDecodePicture' 159 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidCreateDecoder' 160 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidCtxLockDestroy' 161 | /usr/local/zed/lib/libsl_zed.so: undefined reference to `cuvidCreateVideoParser' 162 | collect2: error: ld returned 1 exit status 163 | ``` 164 | 165 | Both problem can be fixed using the following cmake options : 166 | 167 | ``` 168 | cmake -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -DCMAKE_CXX_FLAGS="-Wl,--allow-shlib-undefined" .. 169 | ``` 170 | The link path need to point to the CUDA stub folder, and since `nvcuvid` can be unavailable at compile time, we tell the compiler to ignore undefined symbols. 171 | 172 | 173 | ### USB replug/hot plug 174 | 175 | ZED-M and ZED2/ZED2i contains a udev device for the IMU and sensors data. 176 | On Linux, udev/serial device path are often ephemeral (will change if the device is unplugged and replugged). 177 | 178 | If you unplug/plug them back in, it’s technically a different mapped file for the device than what was mounted in, so Docker won’t see it. For this reason, a solution is to mount the entire /dev folder from the host to the container. You can do this by adding the following volume command to your Docker run command `-v /dev:/dev` 179 | 180 | For example : 181 | 182 | ``` 183 | docker run --gpus all -it -v /dev:/dev --privileged stereolabs/zed:4.0-runtime-cuda11.8-ubuntu20.04 184 | ``` 185 | 186 | When not running the container in root (not using --privileged), the udev rules should be installed on the host, for instance by running the ZED SDK installer to be able to open the cameras, it may segfault otherwise. Alternatively [this script](https://gist.github.com/adujardin/2d5ce8f000fc6a7bd40bee2709749ff8) can be run. 187 | 188 | ### ZED X / GMSL2 189 | 190 | For the ZED X, more folders should be added as volume: 191 | 192 | ``` 193 | -v /tmp/argus_socket:/tmp/argus_socket -v /var/nvidia/nvcam/settings/:/var/nvidia/nvcam/settings/ -v /etc/systemd/system:/etc/systemd/system -v /etc/systemd/system/zed_x_daemon.service:/etc/systemd/system/zed_x_daemon.service -v /dev:/dev -v /tmp:/tmp 194 | ``` 195 | 196 | ### Using the tools 197 | 198 | The tools are using OpenGL libraries. The "`gl`" images are therefore required to use them (see [display support section](#display-support)). 199 | 200 | ## Contributing 201 | 202 | Feel free to open an issue if you find a bug, or a pull request for bug fixes, features or other improvements. 203 | 204 | ## Support 205 | 206 | If you need assistance, go to our Community site at https://community.stereolabs.com/ 207 | --------------------------------------------------------------------------------