Skip to content
Snippets Groups Projects
Commit ed7edf77 authored by Qiang Huang's avatar Qiang Huang
Browse files

Make runc buildable everywhere


Currently we need to clone github.com/opencontainers/runc to
GOPATH so we can make it, it's not friendly for developers.

We can resolve it by vendoring itself as a symlink in GOPATH.

Signed-off-by: default avatarQiang Huang <h.huangqiang@huawei.com>
parent 76674393
No related branches found
No related tags found
No related merge requests found
vendor/pkg
runc
/runc
Godeps/_workspace/src/github.com/opencontainers/runc
......@@ -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 .
vet:
......@@ -29,6 +30,7 @@ install:
clean:
rm runc
rm $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc
validate: vet
script/validate-gofmt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment