Fix static builds in go1.4

https://github.com/golang/go/issues/9344
This commit is contained in:
Tim Hockin
2015-01-20 21:03:23 -08:00
parent f90ad573cf
commit 0a538132cf
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
all: push
server: server.go
CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' ./server.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./server.go
container: server
docker build -t kubernetes/liveness .