Fix the bash demo by increasing the stack size
This commit is contained in:
		
							parent
							
								
									c58f61c56e
								
							
						
					
					
						commit
						e2eb294c2e
					
				| @ -16,7 +16,8 @@ pushd occlum_instance | |||||||
| rm -rf image | rm -rf image | ||||||
| copy_bom -f $bomfile --root image --include-dir /opt/occlum/etc/template | copy_bom -f $bomfile --root image --include-dir /opt/occlum/etc/template | ||||||
| 
 | 
 | ||||||
| new_json="$(jq '.resource_limits.user_space_size = "600MB" ' Occlum.json)" && \ | new_json="$(jq '.resource_limits.user_space_size = "600MB" | | ||||||
|  |                 .resource_limits.kernel_space_stack_size ="2MB"	' Occlum.json)" && \ | ||||||
|     echo "${new_json}" > Occlum.json |     echo "${new_json}" > Occlum.json | ||||||
| 
 | 
 | ||||||
| occlum build | occlum build | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user