Skip to content

Commit

Permalink
Change the way how CUDA public key is added to the sources keyring
Browse files Browse the repository at this point in the history
- the current approach started returning
  `keyserver communications error: key not found` while downloading key and
  just `apt-key add` works

Signed-off-by: Janusz Lisiecki <[email protected]>
  • Loading branch information
JanuszL committed Dec 31, 2024
1 parent 8535a3b commit a7c421c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.customopbuilder.clean
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN rm -rf /etc/apt/sources.list.d/jonathonf-* && \
echo "deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu xenial main " >> /etc/apt/sources.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1E9377A2BA9EF27F && \
# update cuda key
apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \
wget -qO - http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub | apt-key add - && \
apt-get update && \
apt install g++-7 -y && \
rm /usr/bin/gcc /usr/bin/g++ && ln -s gcc-7 /usr/bin/gcc && ln -s g++-7 /usr/bin/g++ && \
Expand Down

0 comments on commit a7c421c

Please sign in to comment.