Use cargo intead of occlum-cargo for init build

This commit is contained in:
Zheng, Qi 2022-09-20 10:56:52 +08:00 committed by volcano
parent 926d80430b
commit d864542c34
2 changed files with 3 additions and 3 deletions

@ -29,8 +29,8 @@ function build_bash_demo()
function build_init() function build_init()
{ {
pushd ${INIT_DIR} pushd ${INIT_DIR}
occlum-cargo clean cargo clean
occlum-cargo build --release cargo build --release
popd popd
} }

@ -4,4 +4,4 @@ targets:
- target: /bin/ - target: /bin/
copy: copy:
- files: - files:
- ${INIT_DIR}/target/x86_64-unknown-linux-musl/release/init - ${INIT_DIR}/target/release/init