Skip to content

Instantly share code, notes, and snippets.

@jamesbeedy
Created June 18, 2020 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbeedy/72ed2e6a70a74a87262959685e49abfa to your computer and use it in GitHub Desktop.
Save jamesbeedy/72ed2e6a70a74a87262959685e49abfa to your computer and use it in GitHub Desktop.
nvidia:
plugin: nil
override-pull: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
apt install software-properties-common -y
add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /" -y
apt update -y
override-build: |
apt install cuda -y
override-stage: |
apt install cuda -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment