2
0

fix: 去掉源

This commit is contained in:
caiyuchao
2025-06-20 18:22:04 +08:00
parent e2555d1802
commit 6f035cade2

View File

@@ -9,10 +9,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# 设置华为云源
RUN sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/repo.huaweicloud.com\/ubuntu\//g' /etc/apt/sources.list && \
sed -i 's#http://security.ubuntu.com/ubuntu#http://repo.huaweicloud.com/ubuntu#' /etc/apt/sources.list20
# 安装OpenJDK 8
RUN apt-get update && \