瀏覽代碼

基础镜像修改

liangzhongquan 2 年之前
父節點
當前提交
c0704b3ee5
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -1,4 +1,5 @@
-FROM nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04 AS builder
+# FROM nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04 AS builder
+FROM pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel AS builder
 
 RUN sed -i 's#archive.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list  \
     && sed -i 's#security.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list