1234567891011 |
- FROM heliang230/centos:7.5.1804
- 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 $JAVA_OPTS /app.jar $PARAMS --spring.profiles.active=pro"]
|