You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xxl-job/xxl-job-executor-samples/xxl-job-executor-sample-spr.../Dockerfile

11 lines
274 B

5 years ago
FROM openjdk:8-jre-slim
MAINTAINER xuxueli
5 years ago
ENV PARAMS=""
5 years ago
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5 years ago
ADD target/xxl-job-executor-sample-springboot-*.jar /app.jar
5 years ago
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /app.jar $PARAMS"]