use capabilities not privileged for building ISO

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-05-11 10:02:23 +01:00
parent fc370b0c21
commit b733dcd66e

View File

@ -7,7 +7,8 @@ services:
volumes:
- .:/mnt
efi:
privileged: true
cap_add:
- sys_admin
build:
context: .
dockerfile: Dockerfile.efi