osbuilder: add api-server-rest in rootfs

Integrate api-server-rest into rootfs image.

Fixes: #7555

Signed-off-by: Biao Lu <biao.lu@intel.com>
This commit is contained in:
Biao Lu
2023-08-30 15:32:12 +08:00
committed by Linda Yu
parent 47c28923d7
commit e865359f4e
2 changed files with 6 additions and 1 deletions

View File

@@ -705,6 +705,11 @@ EOF
make RESOURCE_PROVIDER=${CDH_RESOURCE_PROVIDER}
make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
popd
pushd guest-components/api-server-rest
cargo build --release --target-dir ./target
install -D -m0755 ./target/release/api-server-rest ${ROOTFS_DIR}/usr/local/bin/
popd
fi
if [ "${KATA_BUILD_CC}" == "yes" ]; then

View File

@@ -200,7 +200,7 @@ externals:
attestation-agent:
description: "Provide attested key unwrapping for image decryption"
url: "https://github.com/confidential-containers/guest-components/"
version: "53ddd632424432077e95d3901deb64727be0b4c1"
version: "29086ca22583f0dcfa6548866e9bf2a5e07881e9"
cni-plugins:
description: "CNI network plugins"