提交 e448633f 编写于 作者: demoadmin's avatar demoadmin

修复时区bug

上级 9f73b55f
...@@ -22,8 +22,8 @@ ENV TZ=${timezone} \ ...@@ -22,8 +22,8 @@ ENV TZ=${timezone} \
SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \ SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
IBIZ_SLEEP=0 \ IBIZ_SLEEP=0 \
JAVA_OPTS="" JAVA_OPTS=""
ADD /usr/share/zoneinfo/$TZ /etc/localtime
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN echo $TZ > /etc/timezone
CMD echo "The application will start in ${r'${IBIZ_SLEEP}'}s..." && \ CMD echo "The application will start in ${r'${IBIZ_SLEEP}'}s..." && \
sleep ${r'${IBIZ_SLEEP}'} && \ sleep ${r'${IBIZ_SLEEP}'} && \
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册