Skip to content

Commit d4b7d96

Browse files
authored
goreleaser: use netgo and osusergo to ensure completely static binary builds (#821)
Signed-off-by: Joe Lanford <[email protected]>
1 parent 7c8187a commit d4b7d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
- CGO_ENABLED=1
1212
mod_timestamp: "{{ .CommitTimestamp }}"
1313
flags: &build-flags
14-
- -tags=json1
14+
- -tags=json1,netgo,osusergo
1515
asmflags: &build-asmflags
1616
- all=-trimpath={{ .Env.PWD }}
1717
gcflags: &build-gcflags

0 commit comments

Comments
 (0)