Skip to content

Commit

Permalink
Make releases statically linked
Browse files Browse the repository at this point in the history
  • Loading branch information
ethack committed May 21, 2020
1 parent 164d63f commit f10a0b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/zeekcfg
*.cfg
*.cfg
dist/
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ archives:

builds:
-
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
Expand Down
2 changes: 0 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ zeekcfg --interface ens0 --interface ens1 --interface ens2 --processes 30 --pin
- [ ] Generator command for networks file that uses ethtool and IPv6
- [ ] Find out if can use `lb_procs` with raw sockets (i.e. not with AF_Packet)
- [ ] If `raw` is chosen for a network socket, don't offer lb_procs question.
- [ ] Ensure built with `CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' .`
- [ ] Ensure no debugging symbols `strip`

## Credits

Expand Down

0 comments on commit f10a0b4

Please sign in to comment.