Skip to content

Commit 859b18d

Browse files
committed
fix: executor compiling configuration
1 parent 8c7ed6c commit 859b18d

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

executor/src/main/resources/application.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ quarkus:
200200
file-encoding: UTF-8
201201
inline-before-analysis: true
202202
## see:https://quarkus.io/guides/native-reference#i-get-an-outofmemoryerror-oome-building-native-executables-what-can-i-do
203-
#native-image-xmx: 10g
203+
native-image-xmx: 10g
204204
#resources:
205205
# includes: foo/**,bar/**/*.txt
206206
# excludes: foo/private/**
@@ -341,4 +341,4 @@ minio:
341341
proxy:
342342
type: DIRECT
343343
address: 127.0.0.1
344-
port: 8118
344+
port: 8118

rengine-ui

tools/build/run.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ case $1 in
435435
## Method 2:
436436
## Do not use the COPY command, open the local file service and use curl to download in the container to prevent new layers.
437437
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
439439
do_dl_serve_stop
440440
;;
441441
-c|--controller)
@@ -451,7 +451,7 @@ case $1 in
451451
## Method 2:
452452
## Do not use the COPY command, open the local file service and use curl to download in the container to prevent new layers.
453453
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
455455
do_dl_serve_stop
456456
;;
457457
-j|--job)
@@ -466,7 +466,7 @@ case $1 in
466466
do_build_maven "-T 4C clean install"
467467
fi
468468

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/
470470
;;
471471
-E|--executor-native)
472472
## First of all, it should be built in full to prevent the dependent modules from being updated.
@@ -485,9 +485,7 @@ case $1 in
485485
fi
486486

487487
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/
491489
;;
492490
-u|--ui)
493491
## First of all, it should be built in full to prevent the dependent modules from being updated.

0 commit comments

Comments
 (0)