mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-29 04:51:34 +00:00
kata-deploy: allow to build the image without skopeo
The local-build script should honor the value of SKOPEO exported in the environment so that it will be able to build the image without skopeo inside. This remove the hard-coded "SKOPEO=yes". Fixes #4959 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
4f49423c91
commit
80a831e537
@ -112,11 +112,11 @@ install_cc_clh() {
|
||||
|
||||
#Install cc capable guest image
|
||||
install_cc_image() {
|
||||
info "Create CC image"
|
||||
export SKOPEO=yes
|
||||
export SKOPEO="${SKOPEO:-yes}"
|
||||
export UMOCI=yes
|
||||
export AA_KBC="offline_fs_kbc"
|
||||
|
||||
info "Create CC image configured with SKOPEO=${SKOPEO} UMOCI=${UMOCI} AA_KBC=${AA_KBC}"
|
||||
"${rootfs_builder}" --imagetype=image --prefix="${cc_prefix}" --destdir="${destdir}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user