-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.manifest.template
40 lines (31 loc) · 1.03 KB
/
app.manifest.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "/usr/bin/mono"
loader.argv_src_file = "file:/app/args.txt"
loader.log_level = "error"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}"
loader.env.MALLOC_ARENA_MAX = "1"
sgx.nonpie_binary = true
fs.mounts = [
{ path = "/tmp", uri = "file:/tmp", type = "tmpfs" },
{ path = "/etc", uri = "file:/etc" },
{ path = "/usr", uri = "file:/usr" },
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
{ path = "/app", uri = "file:/app" },
]
sgx.rpc_thread_num = 16
sgx.thread_num = 16
sgx.enclave_size = "2G"
sgx.debug = false
sgx.isvprodid = 1
sgx.isvsvn = 1
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/app/args.txt",
"file:/usr/bin/mono",
"file:/usr/lib/mono/",
"file:/app/app.exe",
"file:/etc/localtime",
]