From 0cf071d37262231d4b8c2f53cb88df40b0cd89a0 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Mon, 2 Mar 2020 14:14:26 +0100
Subject: [PATCH] centos-7: misc

---
 centos-7/Dockerfile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile
index 8496d9a..a6dd91f 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
 
-- 
GitLab