From f0aed0cf5b86b877b6aa44d47ac301a916fe1e03 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Tue, 31 May 2022 12:22:49 -0400 Subject: [PATCH] no sudo --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2d450eada8..e662ba5c4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -222,9 +222,9 @@ LABEL org.opencontainers.image.source='https://github.com/storytold/storyteller- # A better long term fix is to remove these dependencies outright and not have ML deps in this repo. # https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/ # https://forums.developer.nvidia.com/t/invalid-public-key-for-cuda-apt-repository/212901/11 -RUN sudo apt-key del 7fa2af80 +RUN apt-key del 7fa2af80 RUN wget https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-keyring_1.0-1_all.deb -RUN sudo dpkg -i cuda-keyring_1.0-1_all.deb +RUN dpkg -i cuda-keyring_1.0-1_all.deb # NB: Comment this out for non-debug images # TODO: Figure out how this is done elsewhere with just the static binaries