go reproducible builds

reproducible builds in Go

SEAN K.H. LIAO

go reproducible builds

reproducible builds in Go

  1. use Go1.13+
  2. CGO_ENABLED=0: haven't had the time to figure out otherwise
  3. go mod vendor
  4. go build -mod=vendor -trimpath