Environment
GPU Type: GTX 1060
Nvidia Driver Version: 470.82.01
Operating System + Version: Ubuntu 18.04
Docker Version: 20.10.7
Description
I am creating docker images for l4t, this example dockerfile works fine for 32.4.2
:
# Working 32.4
FROM nvcr.io/nvidia/l4t-base:r32.4.2
RUN apt-get update
RUN apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc
# continued...
However, when upgrading to 32.6.1
it fails to fetch the keys. Also gpg is not installed, so that needs installing first:
# Broken 32.6
FROM nvcr.io/nvidia/l4t-base:r32.6.1
RUN apt-get update
# Have to install as it is now missing from base image.
RUN apt-get install -y gnupg2
RUN apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc
# continued...
The above results in this error message:
Executing: /tmp/apt-key-gpghome.qyyyd6aAcq/gpg.1.sh --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc
gpg: requesting key from 'https://repo.download.nvidia.com/jetson/jetson-ota-public.asc'
gpg: WARNING: unable to fetch URI https://repo.download.nvidia.com/jetson/jetson-ota-public.asc: General error
This means I cannot subsequently download the OTA packages I need.
What is going on here? Is there something different I am meant to do to get the keys for the new releases? It is an issue with the base images?
All the documents I’ve found do something similar to me.