From d1b3523b2ba399f004571b60100e7fcb4611aa61 Mon Sep 17 00:00:00 2001
From: Oilbeater <liumengxinfly@gmail.com>
Date: Mon, 29 Jan 2018 16:51:16 +0800
Subject: [PATCH] Update Makefile

Remove symbol table and debug info from go binary to reduce image size
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a5bdf1b8f..5801bcdbf 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ PKG       := $(shell glide novendor)
 TAGS      :=
 TESTS     := .
 TESTFLAGS :=
-LDFLAGS   :=
+LDFLAGS   := -w -s
 GOFLAGS   :=
 BINDIR    := $(CURDIR)/bin
 BINARIES  := helm tiller
-- 
GitLab