Dockerfile 314 B

123456789101112131415
  1. FROM heliang230/centos:7.5.1804
  2. MAINTAINER xuxueli
  3. ENV PARAMS=""
  4. ENV TZ=PRC
  5. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  6. ADD target/xxl-job-executor-sample-springboot-*.jar /app.jar
  7. COPY ./entrypoint.sh /
  8. RUN chmod +x /entrypoint.sh
  9. ENTRYPOINT ["/bin/bash","/entrypoint.sh"]