Skip to content

Instantly share code, notes, and snippets.

@urakozz
Created June 26, 2015 13:14
Show Gist options
  • Save urakozz/d8be3d31172aa3ea7ddb to your computer and use it in GitHub Desktop.
Save urakozz/d8be3d31172aa3ea7ddb to your computer and use it in GitHub Desktop.
Go build hard command
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -v -o application-name .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment