@@ -435,7 +435,7 @@ case $1 in
435
435
# # Method 2:
436
436
# # Do not use the COPY command, open the local file service and use curl to download in the container to prevent new layers.
437
437
do_dl_serve_start
438
- do_build_image_with_springboot apiserver $( print_pom_version) com.wl4g.RengineApiServer Dockerfile.springtar apiserver/target/apiserver-1.0.0-bin.tar
438
+ do_build_image_with_springboot apiserver $( print_pom_version) com.wl4g.RengineApiServer Dockerfile.springtar ${BASE_DIR} / apiserver/target/apiserver-1.0.0-bin.tar
439
439
do_dl_serve_stop
440
440
;;
441
441
-c|--controller)
@@ -451,7 +451,7 @@ case $1 in
451
451
# # Method 2:
452
452
# # Do not use the COPY command, open the local file service and use curl to download in the container to prevent new layers.
453
453
do_dl_serve_start
454
- do_build_image_with_springboot controller $( print_pom_version) com.wl4g.RengineController Dockerfile.springtar controller/target/controller-1.0.0-bin.tar
454
+ do_build_image_with_springboot controller $( print_pom_version) com.wl4g.RengineController Dockerfile.springtar ${BASE_DIR} / controller/target/controller-1.0.0-bin.tar
455
455
do_dl_serve_stop
456
456
;;
457
457
-j|--job)
@@ -466,7 +466,7 @@ case $1 in
466
466
do_build_maven " -T 4C clean install"
467
467
fi
468
468
469
- docker build --no-cache -t wl4g/rengine-executor:$( print_pom_version) -f ${BASE_DIR} /tools/build/docker/Dockerfile.quarkustar .
469
+ docker build --no-cache -t wl4g/rengine-executor:$( print_pom_version) -f ${BASE_DIR} /tools/build/docker/Dockerfile.quarkustar ${BASE_DIR} /executor/
470
470
;;
471
471
-E|--executor-native)
472
472
# # First of all, it should be built in full to prevent the dependent modules from being updated.
@@ -485,9 +485,7 @@ case $1 in
485
485
fi
486
486
487
487
log " Building executor native docker image ..."
488
- cd ${BASE_DIR} /executor
489
- docker build --no-cache -t wl4g/rengine-executor-native:$( print_pom_version) -f ${BASE_DIR} /tools/build/docker/Dockerfile.quarkusnative .
490
- cd ..
488
+ docker build --no-cache -t wl4g/rengine-executor-native:$( print_pom_version) -f ${BASE_DIR} /tools/build/docker/Dockerfile.quarkusnative ${BASE_DIR} /executor/
491
489
;;
492
490
-u|--ui)
493
491
# # First of all, it should be built in full to prevent the dependent modules from being updated.
0 commit comments