You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/10/28 00:16:51 UTC

[camel-karavan] 01/08: Bump versions for native compilation

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git

commit 6b62e17fff5be668dbb4172f13c13ad550f26f4e
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Wed Oct 26 15:48:03 2022 -0400

    Bump versions for native compilation
---
 karavan-app/src/main/docker/Dockerfile.multistage | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/karavan-app/src/main/docker/Dockerfile.multistage b/karavan-app/src/main/docker/Dockerfile.multistage
index 56603bb..92f7f2f 100644
--- a/karavan-app/src/main/docker/Dockerfile.multistage
+++ b/karavan-app/src/main/docker/Dockerfile.multistage
@@ -14,7 +14,7 @@
 #  limitations under the License.
 
 ## Stage 1 : build with maven builder image with native capabilities
-FROM quay.io/quarkus/ubi-quarkus-native-image:21.3.0-java11 AS build-gen
+FROM quay.io/quarkus/ubi-quarkus-native-image:22.3.0-java11 AS build-gen
 
 ## rsync required for npm to build frontend
 USER root
@@ -54,10 +54,10 @@ RUN npm run build
 FROM build-gen as build-app
 COPY --chown=quarkus:quarkus --from=build-node /code/karavan-core/lib/ /code/karavan-core/lib/
 COPY --chown=quarkus:quarkus --from=build-node /code/karavan-core/node_modules/ /code/karavan-core/node_modules/
-RUN ./mvnw clean package -Pnative -f karavan-app
+RUN ./mvnw clean package -Pnative -f karavan-app -Dquarkus.profile=public
 
 ## Stage 4 : create the docker final image
-FROM quay.io/quarkus/quarkus-distroless-image:1.0
+FROM quay.io/quarkus/quarkus-distroless-image:2.0
 COPY --chown=nonroot --from=build-app /code/karavan-app/target/*-runner /deployments/application
 
 EXPOSE 8080