Skip to content

Commit a09c4af

Browse files
authored
Merge pull request NVIDIA#46 from NVIDIA/cuda-image-updates
Add dependabot rule for updating CUDA base images
2 parents 521dc82 + d8d781a commit a09c4af

File tree

19 files changed

+29
-45
lines changed

19 files changed

+29
-45
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ updates:
1616
directory: "/"
1717
schedule:
1818
interval: "daily"
19+
20+
- package-ecosystem: "docker"
21+
directories:
22+
- "*"
23+
schedule:
24+
interval: "daily"

base/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
ARG CUDA_VERSION
2-
31
# Ubuntu 22.04
4-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubuntu22.04 as jammy
2+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubuntu22.04 as jammy
53

64
SHELL ["/bin/bash", "-c"]
75

@@ -36,7 +34,7 @@ RUN chmod +x /usr/local/bin/generate-ci-config && \
3634
ENTRYPOINT ["/usr/bin/sleep","1000"]
3735

3836
# Ubuntu 20.04
39-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubuntu20.04 as focal
37+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubuntu20.04 as focal
4038

4139
SHELL ["/bin/bash", "-c"]
4240

centos7/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG CUDA_VERSION
2-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-centos7
1+
FROM nvcr.io/nvidia/cuda:12.4.0-base-centos7
32

43
ENV NVIDIA_VISIBLE_DEVICES=void
54

coreos/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG CUDA_VERSION=11.7.0
2-
FROM nvcr.io/nvidia/cuda:$CUDA_VERSION-base-ubi8 as license
1+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8 as license
32

43
# Build nvidia-container-runtime binary
54
FROM golang:1.11.2 as build-runtime

fedora/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ARG FEDORA_VERSION=36
2-
ARG CUDA_VERSION
32

4-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubi8 as build
3+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8 as build
54

65
ARG TARGETARCH
76

@@ -26,7 +25,6 @@ RUN git clone https://github.com/NVIDIA/gpu-driver-container driver && \
2625
mv vgpu-util /work
2726

2827
ARG FEDORA_VERSION=36
29-
ARG CUDA_VERSION=11.7.0
3028

3129
FROM fedora:${FEDORA_VERSION}
3230

photon3.0/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG CUDA_VERSION=11.7.0
2-
FROM nvcr.io/nvidia/cuda:$CUDA_VERSION-base-ubi8 as license
1+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8 as license
32

43
FROM photon:3.0
54

rhel8/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG CUDA_VERSION
2-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubi8 as build
1+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8 as build
32

43
ARG TARGETARCH
54

@@ -23,7 +22,7 @@ RUN git clone https://github.com/NVIDIA/gpu-driver-container driver && \
2322
go build -o vgpu-util && \
2423
mv vgpu-util /work
2524

26-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubi8
25+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi8
2726

2827
ARG TARGETARCH
2928
ENV TARGETARCH=$TARGETARCH

rhel8/precompiled/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
ARG DRIVER_TOOLKIT_IMAGE=''
2-
ARG CUDA_VERSION=''
32
ARG CUDA_DIST=''
43

54
FROM ${DRIVER_TOOLKIT_IMAGE} as builder
@@ -50,11 +49,10 @@ RUN export KVER=$(echo ${KERNEL_VERSION} | cut -d '-' -f 1) \
5049
--define "driver_branch ${DRIVER_STREAM}" \
5150
-v -bb SPECS/kmod-nvidia.spec
5251

53-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-${CUDA_DIST}
52+
FROM nvcr.io/nvidia/cuda:12.5.0-base-${CUDA_DIST}
5453

5554
ARG KERNEL_VERSION=''
5655
ARG RHEL_VERSION=''
57-
ARG CUDA_VERSION=''
5856

5957
ARG DRIVER_TYPE=passthrough
6058
ENV DRIVER_TYPE=${DRIVER_TYPE}

rhel9/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG CUDA_VERSION
2-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubi9 as build
1+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi9 as build
32

43
ARG TARGETARCH
54

@@ -23,7 +22,7 @@ RUN git clone https://github.com/NVIDIA/gpu-driver-container driver && \
2322
go build -o vgpu-util && \
2423
mv vgpu-util /work
2524

26-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-ubi9
25+
FROM nvcr.io/nvidia/cuda:12.5.0-base-ubi9
2726

2827
ARG TARGETARCH
2928
ENV TARGETARCH=$TARGETARCH

rhel9/precompiled/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
ARG DRIVER_TOOLKIT_IMAGE=''
2-
ARG CUDA_VERSION=''
32
ARG CUDA_DIST=''
43

54
FROM ${DRIVER_TOOLKIT_IMAGE} as builder
@@ -66,15 +65,14 @@ RUN export KVER=$(echo ${KERNEL_VERSION} | cut -d '-' -f 1) \
6665
--define "driver_branch ${DRIVER_STREAM}" \
6766
-v -bb SPECS/kmod-nvidia.spec
6867

69-
FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-base-${CUDA_DIST}
68+
FROM nvcr.io/nvidia/cuda:12.5.0-base-${CUDA_DIST}
7069

7170
ARG BASE_URL='https://us.download.nvidia.com/tesla'
7271

7372
ARG KERNEL_VERSION=''
7473
ARG KERNEL_VERSION_NOARCH=''
7574
ARG RHEL_VERSION=''
7675

77-
ARG CUDA_VERSION=''
7876
ARG DRIVER_STREAM_TYPE=''
7977

8078
ARG DRIVER_TYPE=passthrough

0 commit comments

Comments
 (0)