Merge pull request #328 from hqhq/hq_build_runc_everywhere

Make runc buildable everywhere
This commit is contained in:
Mrunal Patel 2016-02-25 23:22:00 -08:00
commit 930dbb38a2
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
vendor/pkg
runc
/runc
Godeps/_workspace/src/github.com/opencontainers/runc

View File

@ -5,6 +5,7 @@ BUILDTAGS=seccomp
export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
all:
ln -sfn $(CURDIR) $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc
go build -tags "$(BUILDTAGS)" -o runc .
static:
@ -32,6 +33,7 @@ install:
clean:
rm runc
rm $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc
validate: vet
script/validate-gofmt