mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-15 03:20:03 +00:00
Add 'osusergo' tag
Avoids warnings like "Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking"
This commit is contained in:
2
Makefile
2
Makefile
@@ -21,7 +21,7 @@ RM=--rm
|
||||
RUN_FLAGS=-ti
|
||||
BUILD_IN_CONTAINER=true
|
||||
GO_ENV=GOGC=off
|
||||
GO_BUILD_TAGS='netgo unsafe'
|
||||
GO_BUILD_TAGS='netgo osusergo unsafe'
|
||||
GO_BUILD_FLAGS=-mod vendor -ldflags "-extldflags \"-static\" -X main.version=$(SCOPE_VERSION) -s -w" -tags $(GO_BUILD_TAGS)
|
||||
|
||||
ifeq ($(GOARCH),arm)
|
||||
|
||||
Reference in New Issue
Block a user