配置为CST时区
现有版本里面是UTC时区,修改为CST时区
This commit is contained in:
parent
0308b4ab79
commit
699f9fceb1
@ -2,6 +2,9 @@ FROM node:14.18-alpine as web
|
||||
|
||||
WORKDIR /opt/workflow
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
||||
RUN apk update && \
|
||||
apk add --no-cache git && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user