Update go_sqlite demo with bom file
This commit is contained in:
parent
0e00782c21
commit
b86cbfac48
7
demos/golang/go_sqlite/go_sqlite.yaml
Normal file
7
demos/golang/go_sqlite/go_sqlite.yaml
Normal file
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user