mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +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:
|
||||
- netgo
|
||||
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"
|
||||
|
||||
- id: linux-arm64
|
||||
|
|
@ -65,7 +65,7 @@ builds:
|
|||
tags:
|
||||
- netgo
|
||||
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"
|
||||
|
||||
nfpms:
|
||||
|
|
|
|||
Loading…
Reference in a new issue