-
Notifications
You must be signed in to change notification settings - Fork 0
/
java.manifest.template
29 lines (25 loc) · 1.09 KB
/
java.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
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "/usr/lib/jvm/java-17-openjdk-amd64/bin/java"
loader.log_level = "{{ log_level }}"
loader.argv_src_file = "file:/app/jvm_args.txt"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}:/usr/{{ arch_libdir }}"
sgx.debug = false
sgx.nonpie_binary = true
sgx.thread_num = 64
sgx.enclave_size = "8G"
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/usr/{{ arch_libdir }}/",
"file:/usr/lib/jvm/java-17-openjdk-amd64/",
"file:/app/enclave.jar",
"file:/app/jvm_args.txt",
]
fs.mounts = [
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
{ path = "/usr/{{ arch_libdir }}", uri = "file:/usr/{{ arch_libdir }}" },
{ path = "/usr/lib/jvm/java-17-openjdk-amd64", uri = "file:/usr/lib/jvm/java-17-openjdk-amd64" },
{ path = "/app/enclave.jar", uri = "file:/app/enclave.jar" },
]