소스 검색

update rm

xuxueli 5 년 전
부모
커밋
4df8efdd24
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      xxl-job-admin/Dockerfile
  2. 1 1
      xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile

+ 1 - 1
xxl-job-admin/Dockerfile

@@ -8,4 +8,4 @@ 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 /app.jar $PARAMS"]
+ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /app.jar $PARAMS"]

+ 1 - 1
xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile

@@ -8,4 +8,4 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 
 ADD target/xxl-job-executor-sample-springboot-*.jar /app.jar
 
-ENTRYPOINT ["sh","-c","java -jar /app.jar $PARAMS"]
+ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /app.jar $PARAMS"]