From cae5fbf4d666fd875d8a80e9ff756ff9647fc0a1 Mon Sep 17 00:00:00 2001 From: zhanghaocol Date: Mon, 1 Feb 2021 11:43:37 +0800 Subject: [PATCH] add extra deb source for nvidia add deb source for those in some country could not access Nvidia CDN cache. --- Jenkins/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkins/Dockerfile b/Jenkins/Dockerfile index 207323db261..b0e2eda8bf6 100755 --- a/Jenkins/Dockerfile +++ b/Jenkins/Dockerfile @@ -191,6 +191,7 @@ RUN mkdir /var/run/sshd RUN apt-get update && apt-get install -y liblapacke liblapacke-dev && rm -rf /var/lib/apt/lists/* +RUN echo "deb https://mirrors.aliyun.com/nvidia-cuda/ubuntu1804/x86_64/ ./" >> /etc/apt/sources.list.d/cuda.list # install pillow-simd. RUN apt-get update && apt-get install -y libjpeg8-dev \ cuda-cusparse-dev-10-0 \