diff --git a/docker/Dockerfile b/docker/Dockerfile index 6baf8ab03..f3c982a8a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,7 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG CUDA_SAMPLES_VERSION=13.2 +# R580 is the minimum driver branch supported by gpu-operator and +# its backcompat stretches all the way back to the Maxwell architecure. +# CUDA SAMPLES v12.9 is used as that is the latest version with Maxwell support. +ARG CUDA_SAMPLES_VERSION=12.9 FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6 AS builder @@ -64,7 +67,7 @@ WORKDIR /build ARG SAMPLE_NAME=vectorAdd RUN curl -L https://codeload.github.com/NVIDIA/cuda-samples/tar.gz/refs/tags/v${CUDA_SAMPLES_VERSION} | \ - tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* --wildcards */cmake/* && \ + tar -xzvf - --strip-components=1 --wildcards */${SAMPLE_NAME}/* --wildcards */Common/* && \ cd $(find /build/Samples -iname "${SAMPLE_NAME}") && \ cmake . && \ make && \