设置默认时区
This commit is contained in:
parent
bba3307c9c
commit
314441e094
|
@ -3,6 +3,9 @@ MAINTAINER xuxueli
|
|||
|
||||
ENV PARAMS=""
|
||||
|
||||
ENV TZ=PRC
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
ADD target/xxl-job-admin-*.jar /app.jar
|
||||
|
||||
ENTRYPOINT ["sh","-c","java -jar /app.jar $PARAMS"]
|
Loading…
Reference in New Issue