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 c2e8e24
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 c2e8e24

Please sign in to comment.