commit a70125e7c877a81b607ce17718193a99b41c16b2 parent 93d3ca84f4750d96bae3e752df2dd4d445d6ef6d Author: Vetle Haflan <vetle.haflan@luxsave.com> Date: Sun, 17 May 2020 21:29:03 +0200 Add 'CGO_ENABLED=0' to build command info Diffstat:
M | readme.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/readme.md b/readme.md @@ -94,7 +94,7 @@ updates. The web. In summary, run these from the repo root: - Build static binary: ``` - GOOS=linux GOARCH=amd64 go get -d ./... ; \ + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go get -d ./... ; \ go build \ -ldflags="-w -s" \ -o ./sermoni \