diff --git a/nasp-ubuntu-neo/Dockerfile b/nasp-ubuntu-neo/Dockerfile index 745d381..624e60e 100644 --- a/nasp-ubuntu-neo/Dockerfile +++ b/nasp-ubuntu-neo/Dockerfile @@ -2,7 +2,7 @@ FROM docker.io/nvidia/cuda:12.2.2-devel-ubuntu22.04 # Install dependencies RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ - && sed -i "s@http://.*archive.ubuntu.com@http://192.168.16.118/mirrors@g" /etc/apt/sources.list \ + && sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn/ubuntu@g" /etc/apt/sources.list \ && apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -yq \ -o Acquire::BrokenProxy="true" -o Acquire::http::No-Cache="true" -o Acquire::http::Pipeline-Depth="0" \ build-essential cmake openssh-server git-all sudo ssh sshpass pciutils \ diff --git a/nasp-ubuntu/Dockerfile b/nasp-ubuntu/Dockerfile index 3810232..f5e2b38 100644 --- a/nasp-ubuntu/Dockerfile +++ b/nasp-ubuntu/Dockerfile @@ -2,7 +2,7 @@ FROM docker.io/nvidia/cuda:11.3.1-devel-ubuntu20.04 # Install dependencies RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ - && sed -i "s@http://.*archive.ubuntu.com@http://192.168.16.118/mirrors@g" /etc/apt/sources.list \ + && sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn/ubuntu@g" /etc/apt/sources.list \ && apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -yq \ -o Acquire::BrokenProxy="true" -o Acquire::http::No-Cache="true" -o Acquire::http::Pipeline-Depth="0" \ build-essential cmake openssh-server git-all sudo ssh sshpass pciutils \ @@ -13,7 +13,7 @@ RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && rm -rf /var/lib/apt/list/* # mlnx ofed -RUN cd /tmp && wget http://192.168.16.118/MLNX_OFED_LINUX-5.8-3.0.7.0-ubuntu20.04-x86_64.tgz \ +RUN cd /tmp && wget http://192.168.16.118/drivers/MLNX_OFED_LINUX-5.8-3.0.7.0-ubuntu20.04-x86_64.tgz \ && tar -xf MLNX_OFED_LINUX-5.8-3.0.7.0-ubuntu20.04-x86_64.tgz \ && cd MLNX_OFED_LINUX-5.8-3.0.7.0-ubuntu20.04-x86_64 \ && ./mlnxofedinstall --skip-unsupported-devices-check -q \