Container fails to run on MacOS M1 on test run
pironc opened this issue · comments
After make nodeagent
and running the hello
test in examples/hello/
using go test hello_test.go
, the container starts and stops immediatly.
Logs :
2023-01-17 13:47:53 exec /nodeagent: exec format error
2023-01-17 13:48:44 exec /nodeagent: exec format error
2023-01-17 13:48:47 exec /nodeagent: exec format error
2023-01-17 13:48:49 exec /nodeagent: exec format error
Thanks! I'll add GOARCH and GOOS flags to the command.
Fixed in ad88ffb