Pārlūkot izejas kodu

基础镜像修改

liangzhongquan 2 gadi atpakaļ
vecāks
revīzija
c0704b3ee5
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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