Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 29dc4d6

Browse files
authored
Merge pull request #1518 from g-linville/go-resolver
Use Go's built-in DNS resolver to avoid DNS issues when building Acorns
2 parents 193ad55 + 5b60ce0 commit 29dc4d6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ builds:
2121
goarch: arm64
2222
- goos: windows
2323
goarch: arm
24+
flags:
25+
- -tags netgo
2426
ldflags:
2527
- -s
2628
- -w

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build:
2-
CGO_ENABLED=0 go build -o bin/acorn -ldflags "-s -w" .
2+
CGO_ENABLED=0 go build -o bin/acorn -ldflags "-s -w" -tags netgo .
33

44
tidy:
55
go mod tidy

0 commit comments

Comments
 (0)