This commit is contained in:
parent
2fe5faa2bf
commit
6d2e9ed8b8
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
ARG E5SubBotFile
|
ARG E5SubBotFile
|
||||||
ENV TIME_ZONE=Asia/Shanghai
|
ENV TIME_ZONE=Asia/Shanghai
|
||||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk add tzdata \
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add tzdata \
|
||||||
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone
|
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
ADD ${E5SubBotFile} /root/
|
ADD ${E5SubBotFile} /root/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user