christophd opened a new issue, #5288:
URL: https://github.com/apache/camel-k/issues/5288

   ### What happened?
   
   The Makefile `make build` used to build kamel CLI binaries for the 
individual platform (e.g. linux/amd64 vs. darwin/amd64). The process was to 
build the linux platform binary statically for the Docker image and at the same 
time build a platform specific binary for execution on the host machine (e.g. 
darwin).
   
   This process has been changed so currently `make build` only statically 
builds the linux binary, which is good for the Docker image but insufficient 
for the host to run the kamel CLI binary during development when the platform 
is other than linux. 
   
   Developers running on platforms other than linux would need to cross compile 
and manually add the platform specific binary to the host PATH for local 
development.
   
   ### Steps to reproduce
   
   1. run `make build` on host other than linux
   2. run any kamel CLI command on the resulting kamel binary (e.g. `kamel 
version`)
   3. built kamel binary is not runnable on platforms other than linux
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   _No response_


-- 
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