From 38a4c9fa8fa090f7ec852f60b19630b316c4b4b0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 29 Apr 2022 11:40:22 +0200 Subject: [PATCH] Fix image building due to GPG key update Signed-off-by: Evan Lezar --- build/container/Dockerfile.ubuntu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/container/Dockerfile.ubuntu b/build/container/Dockerfile.ubuntu index 8f04f396..ef7eae2a 100644 --- a/build/container/Dockerfile.ubuntu +++ b/build/container/Dockerfile.ubuntu @@ -42,6 +42,9 @@ RUN GOPATH=/artifacts go install -ldflags="-s -w -X 'main.Version=${VERSION}'" . FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-${BASE_DIST} +# Remove the CUDA repository configurations to avoid issues with rotated GPG keys +RUN rm -f /etc/apt/sources.list.d/cuda.list + ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y --no-install-recommends \ libcap2 \