mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 14:25:43 +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 capable guest image
|
||||||
install_cc_image() {
|
install_cc_image() {
|
||||||
info "Create CC image"
|
export SKOPEO="${SKOPEO:-yes}"
|
||||||
export SKOPEO=yes
|
|
||||||
export UMOCI=yes
|
export UMOCI=yes
|
||||||
export AA_KBC="offline_fs_kbc"
|
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}"
|
"${rootfs_builder}" --imagetype=image --prefix="${cc_prefix}" --destdir="${destdir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user