From 9480196cfda076965d0cd3ece1cf6d862e6d69c1 Mon Sep 17 00:00:00 2001 From: Emilio Castillo Date: Thu, 26 May 2022 00:20:10 +0000 Subject: [PATCH] [backport] Fix GPG key issue in verifier Docker image --- verifier/Dockerfile.debian | 3 +++ 1 file changed, 3 insertions(+) diff --git a/verifier/Dockerfile.debian b/verifier/Dockerfile.debian index 0d32d56c..ea79fdd8 100644 --- a/verifier/Dockerfile.debian +++ b/verifier/Dockerfile.debian @@ -4,6 +4,9 @@ FROM ${base_image} USER root RUN [ ! -d /opt/rocm ] || ( curl -qL https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - ) +# Update CUDA GPG key +RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub + # Workaround an issue in ROCm 4.0.0 docker image that apt repo is not pinned to the version RUN [ ! -d /opt/rocm-4.0.0 ] || ( \ sed -ie 's|http://repo.radeon.com/rocm/apt/debian/|http://repo.radeon.com/rocm/apt/4.0/|' /etc/apt/sources.list.d/rocm.list \