Skip to content

Commit d4b7d96

Browse files
authoredNov 5, 2021
goreleaser: use netgo and osusergo to ensure completely static binary builds (operator-framework#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

+1-1
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)
Please sign in to comment.