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 5517a23af2
commit f9f8a8cd3d
1 changed files with 1 additions and 1 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 .