Jelajahi Sumber

基础镜像修改

liangzhongquan 2 tahun lalu
induk
melakukan
c0704b3ee5
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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