Update embedded_mode demo with bom file
This commit is contained in:
parent
8a6b44a68c
commit
0e00782c21
@ -9,7 +9,8 @@ occlum_instance: build_src
|
||||
@mkdir -p occlum_instance
|
||||
@cd occlum_instance && \
|
||||
occlum init && \
|
||||
cp ../trusted_memcpy_bench/build/trusted_memcpy_bench image/bin/ && \
|
||||
rm -rf image && \
|
||||
copy_bom -f ../embedded_mode.yaml --root image --include-dir /opt/occlum/etc/template && \
|
||||
occlum build
|
||||
|
||||
build_src:
|
||||
|
7
demos/embedded_mode/embedded_mode.yaml
Normal file
7
demos/embedded_mode/embedded_mode.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
includes:
|
||||
- base.yaml
|
||||
targets:
|
||||
- target: /bin
|
||||
copy:
|
||||
- files:
|
||||
- ../trusted_memcpy_bench/build/trusted_memcpy_bench
|
Loading…
Reference in New Issue
Block a user