Skip to content

Commit

Permalink
static binary \o/
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
  • Loading branch information
jessfraz committed Nov 15, 2015
1 parent 48fdc50 commit ecd6463
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
all:
go build -tags "$(BUILDTAGS)" -o runc .

static:
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o runc .

vet:
go get golang.org/x/tools/cmd/vet

Expand Down

0 comments on commit ecd6463

Please # to comment.