提交 | 用户 | 时间 | ||
722af2 | 1 | FROM anapsix/alpine-java:8_server-jre_unlimited |
X | 2 | |
3 | MAINTAINER Lion Li | |
4 | ||
5 | RUN mkdir -p /dl/xxljob/logs | |
6 | ||
7 | WORKDIR /dl/xxljob | |
8 | ||
9 | ENV TZ=PRC | |
10 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
11 | ||
12 | EXPOSE 9100 | |
13 | ||
14 | ADD ./target/dl-xxl-job-admin.jar ./app.jar | |
15 | ||
16 | ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] |