Skip to content

Instantly share code, notes, and snippets.

@isidroamv
Created December 6, 2016 18:41
Show Gist options
  • Save isidroamv/f9845995ef33f1e679e2d60f85f982b0 to your computer and use it in GitHub Desktop.
Save isidroamv/f9845995ef33f1e679e2d60f85f982b0 to your computer and use it in GitHub Desktop.
Build golang code to LINUX AMD
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -v bitbucket.com/mycompany/my_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment