mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-17 23:35:47 +02:00
Omit debugging symbols for maximum small bins (#97)
* Omit debugging symbols for maximum small bins * Update Makefile add comment
This commit is contained in:
@@ -31,6 +31,7 @@ REPOPATH ?= $(ORG)/$(PROJECT)
|
||||
GO_FILES := $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
||||
GO_LDFLAGS := '-extldflags "-static"
|
||||
GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION)
|
||||
GO_LDFLAGS += -w -s # Drop debugging symbols.
|
||||
GO_LDFLAGS += '
|
||||
|
||||
GO_BUILD_TAGS := "containers_image_ostree_stub containers_image_openpgp exclude_graphdriver_devicemapper exclude_graphdriver_btrfs exclude_graphdriver_overlay"
|
||||
|
||||
Reference in New Issue
Block a user