diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile index 8496d9ac59cfbad9e99bcd0121b607027e95d628..a6dd91f31aa0664278511d1df448c7b312800f3c 100644 --- a/centos-7/Dockerfile +++ b/centos-7/Dockerfile @@ -52,9 +52,7 @@ RUN yum install -y \ # CUDA RUN yum install -y dkms && \ cd /tmp && \ - curl -sSLO https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-repo-rhel7-10.1.243-1.x86_64.rpm && \ - rpm -i cuda-repo-rhel7-*.rpm && \ - rm -f cuda-repo-rhel7-*.rpm && \ + rpm -ivh https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-repo-rhel7-10.1.243-1.x86_64.rpm && \ yum install -y cuda-10-1 && \ yum clean all