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

davsclaus pushed a commit to branch http-log-kubernetes
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 71c5459cf4530b4775d386fd8459f81a244913cd
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Apr 24 07:15:52 2020 +0200

    Update multistage docker file
---
 examples/http-log/src/main/docker/Dockerfile.multistage | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/http-log/src/main/docker/Dockerfile.multistage 
b/examples/http-log/src/main/docker/Dockerfile.multistage
index 40a9f95..1b83ff3 100644
--- a/examples/http-log/src/main/docker/Dockerfile.multistage
+++ b/examples/http-log/src/main/docker/Dockerfile.multistage
@@ -1,7 +1,8 @@
 ## Stage 1 : build with maven builder image with native capabilities
 FROM quay.io/quarkus/centos-quarkus-maven:20.0.0-java11 AS build
+COPY pom.xml /usr/src/app/
+RUN mvn -f /usr/src/app/pom.xml -B 
de.qaware.maven:go-offline-maven-plugin:1.2.5:resolve-dependencies
 COPY src /usr/src/app/src
-COPY pom.xml /usr/src/app
 USER root
 RUN chown -R quarkus /usr/src/app
 USER quarkus

Reply via email to