|
@ -4,7 +4,7 @@ LABEL maintainer="Loong<ling.wenlong@free-sun.com.cn>" |
|
|
|
|
|
|
|
|
# 更换软件源 |
|
|
# 更换软件源 |
|
|
RUN cp -a /etc/apk/repositories /etc/apk/repositories.bak \ |
|
|
RUN cp -a /etc/apk/repositories /etc/apk/repositories.bak \ |
|
|
&& sed -i "s@http://dl-cdn.alpinelinux.org/@https://mirrors.huaweicloud.com/@g" /etc/apk/repositories \ |
|
|
&& sed -i "s@https://dl-cdn.alpinelinux.org/@https://mirrors.huaweicloud.com/@g" /etc/apk/repositories \ |
|
|
&& apk update \ |
|
|
&& apk update \ |
|
|
&& apk add tzdata \ |
|
|
&& apk add tzdata \ |
|
|
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ |
|
|
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ |
|
|