Browse Source

修改docker镜像源

Former-commit-id: 3a5cf8cbee
pull/9/head
zhangwei 2 years ago
parent
commit
a3b4d29a24
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      adaptor/PCM-CORE/api/Dockerfile

+ 1
- 1
adaptor/PCM-CORE/api/Dockerfile View File

@@ -2,7 +2,7 @@ FROM alpine:3.16.2
WORKDIR /home WORKDIR /home


# 修改alpine源为上海交通大学 # 修改alpine源为上海交通大学
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.sjtug.sjtu.edu.cn/g' /etc/apk/repositories && \
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
apk update && \ apk update && \
apk upgrade && \ apk upgrade && \
apk add --no-cache ca-certificates && update-ca-certificates && \ apk add --no-cache ca-certificates && update-ca-certificates && \


Loading…
Cancel
Save