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

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

commit eeb3b18c5672745f31e8eb0128c0f12ca5dec04d
Author: Luca Burgazzoli <lburgazz...@gmail.com>
AuthorDate: Wed Aug 3 14:55:07 2022 +0200

    fix: force the creation of the build/_maven_output to prevent image 
building from failing
---
 script/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/script/Makefile b/script/Makefile
index 2efae5375..ac74e2dd4 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -388,10 +388,12 @@ kamel-overlay:
 
 images: build kamel-overlay maven-overlay bundle-kamelets
        @echo "####### Building Camel K operator container image..."
+       mkdir -p build/_maven_output
        docker build -t $(CUSTOM_IMAGE):$(CUSTOM_VERSION) -f build/Dockerfile .
 
 images-arch: build kamel-overlay maven-overlay bundle-kamelets
        @echo "####### Building Camel K operator container image for multi 
architectures..."
+       mkdir -p build/_maven_output
        docker buildx rm --all-inactive --force
        docker buildx create --append --name builder
 ifeq ($(shell uname -m), x86_x64)

Reply via email to