From d38daf976b444006d487fe7499793e1a54c24ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Fri, 12 Jun 2015 04:21:17 +0200 Subject: [PATCH] Set ldflags -w when compiling for docker --- docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.sh b/docker.sh index 0305eb7a..f2bbfde4 100755 --- a/docker.sh +++ b/docker.sh @@ -1,4 +1,4 @@ #!/bin/sh cp /etc/ssl/certs/ca-certificates.crt . -CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o build/name_pending +CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags -w -o build/name_pending docker build -t khlieng/name_pending . \ No newline at end of file