fix: 去掉源
This commit is contained in:
@@ -10,10 +10,6 @@ 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 && \
|
||||
apt-get install -y openjdk-8-jre && \
|
||||
|
||||
Reference in New Issue
Block a user