Update go_sqlite demo with bom file

This commit is contained in:
zongmin.gu 2021-09-26 13:32:15 +08:00 committed by Zongmin.Gu
parent 0e00782c21
commit b86cbfac48
2 changed files with 9 additions and 1 deletions

@ -0,0 +1,7 @@
includes:
- base.yaml
targets:
- target: /bin
copy:
- files:
- ../simple_demo

@ -24,7 +24,8 @@ new_json="$(jq '.resource_limits.user_space_size = "2560MB" |
echo "${new_json}" > Occlum.json echo "${new_json}" > Occlum.json
# Copy program into Occlum Workspace and build # Copy program into Occlum Workspace and build
cp ../simple_demo image/bin rm -rf image && \
copy_bom -f ../go_sqlite.yaml --root image --include-dir /opt/occlum/etc/template && \
occlum build occlum build
# Run the Golang SQLite demo # Run the Golang SQLite demo