Skip to content

Commit

Permalink
Disable cgo and statically link the build
Browse files Browse the repository at this point in the history
Enables running on Alpine Linux and other musl based distributions
  • Loading branch information
george-angel committed Feb 13, 2018
1 parent e29ebf8 commit 5e18852
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Build customization
builds:
- binary: strongbox
- ldflags: -s -extldflags "-static"
env:
- CGO_ENABLED=0

goos:
- windows
- darwin
Expand Down

0 comments on commit 5e18852

Please sign in to comment.