Merge pull request #1022 from hqhq/add_privileged_for_dbuild

Add privileged to make dbuild
This commit is contained in:
Mrunal Patel 2016-09-13 10:07:10 -07:00 committed by GitHub
commit f516b5d082
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ $(RUNC_LINK):
ln -sfn $(CURDIR) $(RUNC_LINK) ln -sfn $(CURDIR) $(RUNC_LINK)
dbuild: runcimage dbuild: runcimage
docker run --name=$(RUNC_INSTANCE) $(RUNC_IMAGE) make docker run --name=$(RUNC_INSTANCE) --privileged $(RUNC_IMAGE) make
docker cp $(RUNC_INSTANCE):$(RUNC_BUILD_PATH) . docker cp $(RUNC_INSTANCE):$(RUNC_BUILD_PATH) .
docker rm $(RUNC_INSTANCE) docker rm $(RUNC_INSTANCE)