Add privileged to make dbuild
So we don't get `mount: permission denied` when make dbuild. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
7b0b628a9b
commit
aeba315e44
2
Makefile
2
Makefile
|
@ -33,7 +33,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