static binary \o/
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
48fdc50d09
commit
ecd6463101
3
Makefile
3
Makefile
|
@ -7,6 +7,9 @@ export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
|
||||||
all:
|
all:
|
||||||
go build -tags "$(BUILDTAGS)" -o runc .
|
go build -tags "$(BUILDTAGS)" -o runc .
|
||||||
|
|
||||||
|
static:
|
||||||
|
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o runc .
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go get golang.org/x/tools/cmd/vet
|
go get golang.org/x/tools/cmd/vet
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue