Update Vault demo with bom file

This commit is contained in:
zongmin.gu 2021-09-26 11:15:01 +08:00 committed by Zongmin.Gu
parent 59a896b499
commit 3684560683
2 changed files with 9 additions and 1 deletions

@ -25,7 +25,8 @@ new_json="$(jq '.resource_limits.user_space_size = "2560MB" |
echo "${new_json}" > Occlum.json
# 2. Copy executable into Occlum Workspace and build
cp ../source_code/bin/vault image/bin
rm -rf image && \
copy_bom -f ../vault.yaml --root image --include-dir /opt/occlum/etc/template && \
occlum build
# 3. Run the Hashicorp Vault server listening on "127.0.0.1:8200"

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