From 314441e0946f04620091b78c335041858488f585 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Sun, 4 Nov 2018 01:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E6=97=B6?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xxl-job-admin/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xxl-job-admin/Dockerfile b/xxl-job-admin/Dockerfile index be431040..8c2049af 100644 --- a/xxl-job-admin/Dockerfile +++ b/xxl-job-admin/Dockerfile @@ -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"] \ No newline at end of file