设置默认时区

master
xuxueli 6 years ago
parent bba3307c9c
commit 314441e094
  1. 3
      xxl-job-admin/Dockerfile

@ -3,6 +3,9 @@ MAINTAINER xuxueli
ENV PARAMS="" 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 ADD target/xxl-job-admin-*.jar /app.jar
ENTRYPOINT ["sh","-c","java -jar /app.jar $PARAMS"] ENTRYPOINT ["sh","-c","java -jar /app.jar $PARAMS"]
Loading…
Cancel
Save