Merge pull request #328 from hqhq/hq_build_runc_everywhere
Make runc buildable everywhere
This commit is contained in:
commit
930dbb38a2
|
@ -1,2 +1,3 @@
|
|||
vendor/pkg
|
||||
runc
|
||||
/runc
|
||||
Godeps/_workspace/src/github.com/opencontainers/runc
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue