diff options
| author | doufenghu <[email protected]> | 2020-02-21 17:30:08 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2020-02-21 17:30:08 +0800 |
| commit | 5350840a9f4c76fbb6c5ec4b3bdf8c75dcc9ccf3 (patch) | |
| tree | bb4cfd98a85e10c6a43340bf8885463a6e5802c0 /xxl-job-admin/Dockerfile | |
| parent | c71da1bd2069ae9f608bc214aae7d8ea3b2f97c0 (diff) | |
Diffstat (limited to 'xxl-job-admin/Dockerfile')
| -rw-r--r-- | xxl-job-admin/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xxl-job-admin/Dockerfile b/xxl-job-admin/Dockerfile new file mode 100644 index 0000000..8c2049a --- /dev/null +++ b/xxl-job-admin/Dockerfile @@ -0,0 +1,11 @@ +FROM openjdk:7-jre-slim +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 |
