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

修复时区BUG

上级 3c9008c2
......@@ -22,12 +22,10 @@ ENV TZ=${timezone} \
SPRING_OUTPUT_ANSI_ENABLED=ALWAYS \
IBIZ_SLEEP=0 \
JAVA_OPTS=""
RUN wget https://xtemplcdn.oss-cn-shanghai.aliyuncs.com/Shanghai -O /etc/localtime
RUN echo $TZ > /etc/timezone
CMD echo "The application will start in ${r'${IBIZ_SLEEP}'}s..." && \
sleep ${r'${IBIZ_SLEEP}'} && \
java ${r'${JAVA_OPTS}'} -Djava.security.egd=file:/dev/./urandom -jar /${pub.getCodeName()?lower_case}-provider-${api.getCodeName()?lower_case}.jar
java ${r'${JAVA_OPTS}'} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /${pub.getCodeName()?lower_case}-provider-${api.getCodeName()?lower_case}.jar
EXPOSE ${httpPort}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册