When building your program use
1 |
go build -tags netgo -a |
to build a static binary (no external dependencies)
(so you can run it chrooted or embed it in a docker container without dependencies or whatever)
When building your program use
1 |
go build -tags netgo -a |
to build a static binary (no external dependencies)
(so you can run it chrooted or embed it in a docker container without dependencies or whatever)