Closed explodecomputer closed 6 years ago
Are you trying to run this on a device with a different architecture? i.e ARM on a Raspberry Pi?
Hello!
I think (like @guythomas), you are trying to run a binary built for another platform that the one you are running.
If so, you can easily add GOOS and GOARCH env variables before running go generate to cross-compile
Hi both, thanks very much for responding. I was trying to run it on rpi, not sure what I was thinking to not check architecture of the binaries. Will do this, thanks again.
The image builds fine and runs but exits immediately. docker logs gives:
Any idea what might be the issue?
Thanks