Closed chhetripradeep closed 3 years ago
This change should not be needed. you should be able to run GOOS=darwin GOARCH=amd64 make build
btw for run the plugin has to be compiled to linux anyways bc the plugin binary is injected into jaeger docker container.
Sorry I think i didn't explain the issue properly. I am on MacOS, which populate the GOOS=darwin which passes the osx binary inside the container which then fails with the above error.
then GOOS=linux make build run
should fix your issue
Docker container expect linux binaries. We are always looking for GOOS and GOARCH which will be different in macos hence it will fail with /data/jaeger-clickhouse-darwin-amd64: exec format error
On OSX:
Signed-off-by: Pradeep Chhetri pradeepchhetri4444@gmail.com