update 优化xxl-job-admin相关pr代码 增加格式化日志输出与docker镜像
parent
2b0452207e
commit
82f1f5d0cf
@ -0,0 +1,8 @@
|
||||
Application Version: ${ruoyi-vue-plus.version}
|
||||
Spring Boot Version: ${spring-boot.version}
|
||||
__ __ _ _ _ _
|
||||
| \/ | (_) | /\ | | (_)
|
||||
| \ / | ___ _ __ _| |_ ___ _ __ ______ / \ __| |_ __ ___ _ _ __
|
||||
| |\/| |/ _ \| '_ \| | __/ _ \| '__|______/ /\ \ / _` | '_ ` _ \| | '_ \
|
||||
| | | | (_) | | | | | || (_) | | / ____ \ (_| | | | | | | | | | |
|
||||
|_| |_|\___/|_| |_|_|\__\___/|_| /_/ \_\__,_|_| |_| |_|_|_| |_|
|
@ -1,11 +1,17 @@
|
||||
FROM openjdk:8-jre-slim
|
||||
MAINTAINER xuxueli
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
ENV PARAMS=""
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/xxljob
|
||||
RUN mkdir -p /ruoyi/xxljob/logs
|
||||
|
||||
WORKDIR /ruoyi/xxljob
|
||||
|
||||
ENV TZ=PRC
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
ADD target/xxl-job-admin-*.jar /app.jar
|
||||
EXPOSE 9100
|
||||
|
||||
ADD ./target/ruoyi-xxl-job-admin.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /app.jar $PARAMS"]
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
Loading…
Reference in New Issue