瀏覽代碼

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"]