Use CGO_ENABLED=0 (#421)

Set `CGO_ENABLED` to 0 when building
This commit is contained in:
Jake Howard
2021-11-04 18:20:44 +00:00
committed by GitHub
parent a22c134bf5
commit eb66e13dc4
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,8 @@ GOMINVERSION = 1.17
NEBULA_CMD_PATH = "./cmd/nebula"
GO111MODULE = on
export GO111MODULE
CGO_ENABLED = 0
export CGO_ENABLED
# Set up OS specific bits
ifeq ($(OS),Windows_NT)