lucamolteni commented on code in PR #3804:
URL: https://github.com/apache/camel-k/pull/3804#discussion_r1018747831


##########
script/Makefile:
##########
@@ -402,7 +402,11 @@ maven-overlay:
 kamel-overlay:
        @echo "####### Copying kamel CLI to output build directory..."
        mkdir -p build/_output/bin
-       cp kamel build/_output/bin
+  ifeq ($(shell uname -m), arm64)

Review Comment:
   The problem appears for both macOS running on `x86_64` and on `arm64` - a 
macOS compiled library will never work inside a Linux container image.
   
   why not 
   
   `ifneq ($(shell uname -m), Linux)`
   
   ?
   If it's anything else than Linux, put the linux binary inside the image



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to