mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +00:00
Build using netgo tag
This will create a static build using Go native networking stack. Checked and it works stable for all archs and distros.
This commit is contained in:
parent
bf85e15dce
commit
1a31178c01
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ builds:
|
||||||
tags:
|
tags:
|
||||||
- netgo
|
- netgo
|
||||||
ldflags:
|
ldflags:
|
||||||
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||||
-s -w -extldflags "-static"
|
-s -w -extldflags "-static"
|
||||||
|
|
||||||
- id: linux-arm64
|
- id: linux-arm64
|
||||||
|
|
@ -65,7 +65,7 @@ builds:
|
||||||
tags:
|
tags:
|
||||||
- netgo
|
- netgo
|
||||||
ldflags:
|
ldflags:
|
||||||
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||||
-s -w -extldflags "-static"
|
-s -w -extldflags "-static"
|
||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue