Update Vault demo with bom file
This commit is contained in:
		
							parent
							
								
									59a896b499
								
							
						
					
					
						commit
						3684560683
					
				| @ -25,7 +25,8 @@ new_json="$(jq '.resource_limits.user_space_size = "2560MB" | | |||||||
| echo "${new_json}" > Occlum.json | echo "${new_json}" > Occlum.json | ||||||
| 
 | 
 | ||||||
| # 2. Copy executable into Occlum Workspace and build | # 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 | occlum build | ||||||
| 
 | 
 | ||||||
| # 3. Run the Hashicorp Vault server listening on "127.0.0.1:8200"  | # 3. Run the Hashicorp Vault server listening on "127.0.0.1:8200"  | ||||||
|  | |||||||
							
								
								
									
										7
									
								
								demos/golang/vault/vault.yaml
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										7
									
								
								demos/golang/vault/vault.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | |||||||
|  | includes: | ||||||
|  |   - base.yaml | ||||||
|  | targets: | ||||||
|  |   - target: /bin | ||||||
|  |     copy: | ||||||
|  |       - files: | ||||||
|  |         - ../source_code/bin/vault | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user