mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 17:34:31 +00:00
image-builder: fix udev error when using docker to build image
Incorporate the `DM_VERITY` parameter when building the image with docker. Fixes #7879 Signed-off-by: ChengyuZhu6 <chengyu.zhu@intel.com>
This commit is contained in:
parent
51c665a09c
commit
fd33309475
@ -205,6 +205,7 @@ build_with_container() {
|
||||
--env DEBUG="${DEBUG}" \
|
||||
--env ARCH="${ARCH}" \
|
||||
--env TARGET_ARCH="${TARGET_ARCH}" \
|
||||
--env DM_VERITY="${DM_VERITY}" \
|
||||
-v /dev:/dev \
|
||||
-v "${script_dir}":"/osbuilder" \
|
||||
-v "${script_dir}/../scripts":"/scripts" \
|
||||
|
Loading…
Reference in New Issue
Block a user