Closed moosilauke18 closed 9 years ago
Had the same problem after using Go 1.4. Using the following fixed it for me:
go build -a -tags netgo -installsuffix netgo -ldflags '-w' .
OK, I will close this ticket, unless you thing that there is something that should be changed in the busybox image. Thank you for reporting this!
I just recently switched from using linux mint to arch linux as my host system.
The golang is built using
I'm using the same build files and everything, however once I build the image it cannot run the static binary. It results in a
No such file or directory
error.Even if I run the image built on arch I cannot run it on another system as the error persists. I can build on debian, ubuntu and it works properly.