Merge pull request #1022 from hqhq/add_privileged_for_dbuild
Add privileged to make dbuild
This commit is contained in:
commit
f516b5d082
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue