=> ERROR [ 3/12] RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` && rm -rf /var/cache/* 69.1s
------
> [ 3/12] RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` && rm -rf /var/cache/*:
#0 65.92
#0 65.92 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#0 65.92
#0 68.67 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease: At least one invalid signature was encountered.
#0 68.67 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease' is not signed.
#0 68.67 W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.
#0 68.67 E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
#0 68.67 W: GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: At least one invalid signature was encountered.
#0 68.67 E: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
#0 68.67 W: GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: At least one invalid signature was encountered.
#0 68.67 E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
#0 68.67 W: GPG error: http://archive.ubuntu.com/ubuntu focal-backports InRelease: At least one invalid signature was encountered.
#0 68.67 E: The repository 'http://archive.ubuntu.com/ubuntu focal-backports InRelease' is not signed.
------
Dockerfile:9
@shayekh_bin_islam : If you are changing the base image in the docker image, then you might have to update the nvidia GPG keys. More on it here: GPG error "public key is not available" in Ubuntu 20.04 CUDA 11.4.0 image while building · Issue #257 · NVIDIA/nvidia-container-toolkit · GitHub
1 Like