feat: 添加dockerfile源
This commit is contained in:
@@ -10,6 +10,10 @@ ENV LANG en_US.UTF-8
|
|||||||
ENV LANGUAGE en_US:en
|
ENV LANGUAGE en_US:en
|
||||||
ENV LC_ALL en_US.UTF-8
|
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
|
# 安装OpenJDK 8
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y openjdk-8-jre && \
|
apt-get install -y openjdk-8-jre && \
|
||||||
|
|||||||
Reference in New Issue
Block a user