Skip to content
Snippets Groups Projects
Unverified Commit 4a18cff5 authored by ad-daniel's avatar ad-daniel Committed by GitHub
Browse files

Fix nvidia docker key (#255)

* Fix nvidia key

* Test if it actually fails

* Undo

* Don't delete prior key
parent 1d03c9fe
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,10 @@ FROM nvidia/cuda:11.2.0-cudnn8-devel-ubuntu20.04
ARG branch
# Fix NVIDIA CUDA Linux repository key rotation
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu$(cat /etc/os-release | grep VERSION_ID | awk '{print substr($0,13,5)}' | awk -F'.' '{print $1$2}')/x86_64/3bf863cc.pub
# Install dependencies
RUN apt-get update && \
apt-get --yes install git sudo apt-utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment