ci: remove sed
Some checks failed
build-docker-images-for-latest-release-github-ver / build-and-push (push) Failing after 46s
Some checks failed
build-docker-images-for-latest-release-github-ver / build-and-push (push) Failing after 46s
This commit is contained in:
parent
69ab6c9f11
commit
bfbce4dde8
@ -10,9 +10,7 @@ FROM fly6516.synology.me:8080/ubuntu:20.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# 使用南京大学的 apt 源
|
||||
RUN if [ "$(uname -m)" = "x86_64" ]; then \
|
||||
sed -i 's/archive.ubuntu.com/mirrors.nju.edu.cn/g' /etc/apt/sources.list; \
|
||||
fi
|
||||
# RUN sed -i 's/archive.ubuntu.com/mirrors.nju.edu.cn/g' /etc/apt/sources.list
|
||||
|
||||
# 更新系统并安装常用工具
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
Loading…
Reference in New Issue
Block a user