diff --git a/docker/build/desktop/Dockerfile b/docker/build/desktop/Dockerfile index bf6c80a147b..5950ff6dcdb 100644 --- a/docker/build/desktop/Dockerfile +++ b/docker/build/desktop/Dockerfile @@ -2,6 +2,17 @@ FROM opendatacam/base-desktop-nvidia-cuda-opencv-gstreamer:1.0 ENV DEBIAN_FRONTEND noninteractive +# Update NVIDIA Signing key +# See also https://forums.developer.nvidia.com/t/gpg-error-http-developer-download-nvidia-com-compute-cuda-repos-ubuntu1804-x86-64/212904/3 +RUN apt-key del 7fa2af80 && \ + apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub + +# Install commonly used dependencies +RUN apt-get update && \ + apt-get install -y jq wget +RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ + apt-get install -y nodejs + # Start Darknet Install RUN git clone --depth 1 -b odc https://github.com/opendatacam/darknet /var/local/darknet diff --git a/docker/build/nano/Dockerfile b/docker/build/nano/Dockerfile index d5beca6555e..602ecb83373 100644 --- a/docker/build/nano/Dockerfile +++ b/docker/build/nano/Dockerfile @@ -2,6 +2,17 @@ FROM resinplayground/jetson-nano-cuda-cudnn-opencv:v0.2-slim ENV DEBIAN_FRONTEND noninteractive +# Update NVIDIA Signing key +# See also https://forums.developer.nvidia.com/t/gpg-error-http-developer-download-nvidia-com-compute-cuda-repos-ubuntu1804-x86-64/212904/3 +RUN apt-key del 7fa2af80 && \ + apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub + +# Install commonly used dependencies +RUN apt-get update && \ + apt-get install -y jq wget +RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ + apt-get install -y nodejs + # Start Darknet Install RUN git clone --depth 1 -b odc https://github.com/opendatacam/darknet /var/local/darknet diff --git a/docker/build/xavier/Dockerfile b/docker/build/xavier/Dockerfile index ab1a3e05517..4691aa525f5 100644 --- a/docker/build/xavier/Dockerfile +++ b/docker/build/xavier/Dockerfile @@ -2,6 +2,17 @@ FROM resinplayground/jetson-nano-cuda-cudnn-opencv:v0.2-slim ENV DEBIAN_FRONTEND noninteractive +# Update NVIDIA Signing key +# See also https://forums.developer.nvidia.com/t/gpg-error-http-developer-download-nvidia-com-compute-cuda-repos-ubuntu1804-x86-64/212904/3 +RUN apt-key del 7fa2af80 && \ + apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub + +# Install commonly used dependencies +RUN apt-get update && \ + apt-get install -y jq wget +RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ + apt-get install -y nodejs + # Start Darknet Install RUN git clone --depth 1 -b odc https://github.com/opendatacam/darknet /var/local/darknet