Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ubuntu/cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ USER root
ENV DEBIAN_FRONTEND noninteractive

RUN \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin \
&& mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 \
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub \
&& add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /" \
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${ubuntu_version//./}/x86_64/cuda-ubuntu${ubuntu_version//./}.pin \
&& mv cuda-ubuntu${ubuntu_version//./}.pin /etc/apt/preferences.d/cuda-repository-pin-600 \
&& apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${ubuntu_version//./}/x86_64/3bf863cc.pub \
&& add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${ubuntu_version//./}/x86_64/ /" \
&& apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends cuda-${cuda_version} \
&& rm -rf /var/lib/apt/lists/* \
Expand Down
2 changes: 2 additions & 0 deletions ubuntu/cuda/uptodate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dockerbuild:
- "12-1"
- "12-2"
- "12-3"
- "13-0"
ubuntu_version:
- "22.04"
- "22.04"
Expand All @@ -30,6 +31,7 @@ dockerbuild:
- "22.04"
- "22.04"
- "22.04"
- "22.04"

build_args:
cuda_version:
Expand Down