2
0

feat: 添加dockerfile源

This commit is contained in:
caiyuchao
2025-07-03 10:21:40 +08:00
parent ba76d27339
commit c0330fa490

View File

@@ -10,6 +10,10 @@ 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.list
# 安装OpenJDK 8
RUN apt-get update && \
apt-get install -y openjdk-8-jre && \