You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
6 years ago
|
Index: src/github.com/GoogleContainerTools/kaniko/Makefile
|
||
|
--- src/github.com/GoogleContainerTools/kaniko/Makefile.orig 2020-01-06 10:09:32.000000000 +0100
|
||
|
+++ src/github.com/GoogleContainerTools/kaniko/Makefile 2020-01-06 10:11:23.941763000 +0100
|
||
|
@@ -19,7 +19,7 @@
|
||
|
|
||
|
VERSION ?= v$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_BUILD)
|
||
|
|
||
|
-SHELL := /bin/bash
|
||
|
+SHELL := bash
|
||
|
GOOS ?= $(shell go env GOOS)
|
||
|
GOARCH = amd64
|
||
|
ORG := github.com/GoogleContainerTools
|
||
|
@@ -32,7 +32,6 @@
|
||
|
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 += '
|
||
|
|
||
|
EXECUTOR_PACKAGE = $(REPOPATH)/cmd/executor
|
||
|
@@ -47,10 +46,10 @@
|
||
|
|
||
|
|
||
|
out/executor: $(GO_FILES)
|
||
|
- GOARCH=$(GOARCH) GOOS=linux CGO_ENABLED=0 go build -ldflags $(GO_LDFLAGS) -o $@ $(EXECUTOR_PACKAGE)
|
||
|
+ GOARCH=$(GOARCH) GOOS=linux CGO_ENABLED=0 go build -v -ldflags $(GO_LDFLAGS) -o $@ $(EXECUTOR_PACKAGE)
|
||
|
|
||
|
out/warmer: $(GO_FILES)
|
||
|
- GOARCH=$(GOARCH) GOOS=linux CGO_ENABLED=0 go build -ldflags $(GO_LDFLAGS) -o $@ $(WARMER_PACKAGE)
|
||
|
+ GOARCH=$(GOARCH) GOOS=linux CGO_ENABLED=0 go build -v -ldflags $(GO_LDFLAGS) -o $@ $(WARMER_PACKAGE)
|
||
|
|
||
|
.PHONY: test
|
||
|
test: out/executor
|