Skip to content

Commit

Permalink
Declare Makefile with default fully static target
Browse files Browse the repository at this point in the history
  • Loading branch information
avanier committed Feb 23, 2019
1 parent be19aa8 commit 300122c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
default:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w -extldflags "-static"'

0 comments on commit 300122c

Please sign in to comment.