Created
February 21, 2016 23:49
-
-
Save wrouesnel/15d9359fc88b0937b6bf to your computer and use it in GitHub Desktop.
Build command for totally static go images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o main . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment