Browse Source

更换基础镜像

liweiquan 10 months ago
parent
commit
8155a7763f
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Dockerfile

+ 2 - 4
Dockerfile

@@ -1,7 +1,5 @@
-FROM condaforge/mambaforge:latest AS builder0
-
-#FROM nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04 AS builder
-FROM SXKJ:32775/nvidia-cuda-11.0-cudnn8.0:latest AS build
+FROM condaforge/mambaforge AS builder0
+FROM SXKJ:32775/nvidia-cuda-11.0-cudnn8.0:latest as builder
 
 
 RUN sed -i 's#archive.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list  \
 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
     && sed -i 's#security.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list