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