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 ce3c714 commit c56b46a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Build customization
builds:
- ldflags: -s -extldflags "-static"
env:
- CGO_ENABLED=0

- binary: strongbox
goos:
- windows
Expand Down

0 comments on commit c56b46a

Please sign in to comment.