File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ RUNC_IMAGE := runc_dev$(if $(GIT_BRANCH_CLEAN),:$(GIT_BRANCH_CLEAN))
1010PROJECT := github.com/opencontainers/runc
1111TEST_DOCKERFILE := script/test_Dockerfile
1212BUILDTAGS := seccomp
13- RUNC_BUILD_PATH := /go/src/github.com/opencontainers/runc/runc
14- RUNC_INSTANCE := runc_dev
1513COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true)
1614COMMIT := $(if $(shell git status --porcelain --untracked-files=no) ,"${COMMIT_NO}-dirty","${COMMIT_NO}")
1715RUNC_LINK := $(CURDIR ) /Godeps/_workspace/src/github.com/opencontainers/runc
@@ -64,9 +62,7 @@ $(RUNC_LINK):
6462 ln -sfn $(CURDIR ) $(RUNC_LINK )
6563
6664dbuild : runcimage
67- docker run --name=$(RUNC_INSTANCE ) --privileged $(RUNC_IMAGE ) make
68- docker cp $(RUNC_INSTANCE ) :$(RUNC_BUILD_PATH ) .
69- docker rm $(RUNC_INSTANCE )
65+ docker run --rm -v $(CURDIR ) :/go/src/$(PROJECT ) --privileged $(RUNC_IMAGE ) make
7066
7167lint :
7268 go vet ./...
You can’t perform that action at this time.
0 commit comments