From 2931c91bce6d734b8fe568097aca81b4f3f128c8 Mon Sep 17 00:00:00 2001 From: svor Date: Tue, 7 Jun 2022 15:36:39 +0300 Subject: [PATCH 1/2] chore: update UDI Signed-off-by: svor --- devfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devfile.yaml b/devfile.yaml index f1e53dba92..e3e11169e0 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -4,7 +4,7 @@ metadata: components: - name: tools container: - image: quay.io/devfile/universal-developer-image:ubi8-0e189d9 + image: quay.io/devfile/universal-developer-image:ubi8-3055e6d env: - name: QUARKUS_HTTP_HOST value: 0.0.0.0 From e3abf61ea48e1cc5f9e352b8a20595a15f5a6b0c Mon Sep 17 00:00:00 2001 From: svor Date: Wed, 8 Jun 2022 12:38:26 +0300 Subject: [PATCH 2/2] chore: use mvn instead of mvnw; increase memory Signed-off-by: svor --- devfile.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index e3e11169e0..cacc3889b3 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -21,7 +21,7 @@ components: volumeMounts: - name: m2 path: /home/user/.m2 - memoryLimit: 4G + memoryLimit: 4.7G mountSources: true - name: ubi-minimal @@ -41,7 +41,7 @@ commands: exec: component: tools workingDir: ${PROJECT_SOURCE}/getting-started - commandLine: "./mvnw package" + commandLine: "mvn package" group: kind: build isDefault: true @@ -51,7 +51,7 @@ commands: label: "Package Native" component: tools workingDir: ${PROJECT_SOURCE}/getting-started - commandLine: "./mvnw package -Dnative -Dmaven.test.skip -Dquarkus.native.native-image-xmx=2G" + commandLine: "mvn package -Dnative -Dmaven.test.skip -Dquarkus.native.native-image-xmx=2G" group: kind: build @@ -60,7 +60,7 @@ commands: label: "Start Development mode (Hot reload + debug)" component: tools workingDir: ${PROJECT_SOURCE}/getting-started - commandLine: "./mvnw compile quarkus:dev" + commandLine: "mvn compile quarkus:dev" group: kind: run isDefault: true