Commit graph

6 commits

Author SHA1 Message Date
Harald Hoyer
83f9cc24ee
feat: rename manifest and sigs to app by default via appName parameter
This will ease the creation of scripts processing containers further.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-26 12:26:40 +02:00
Harald Hoyer
dba206cc75
fix: correct CMD
incorrectly escaped `[ -n "$GRAMINE_DIRECT" ]`

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-18 10:33:57 +02:00
Harald Hoyer
ec8f336547
feat: add GRAMINE_DIRECT
if the container is passed `GRAMINE_DIRECT=1` then `gramine-direct`
is executed. This helps debugging on non-sgx machines.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-14 20:43:03 +02:00
Harald Hoyer
7050f3b049
feat: merge the manifest attribute sets better
* merge the arrays `fs.mounts` and `sgx.trusted_files`
  instead of replacing them.
* append `loader.env.LD_LIBRARY_PATH`
  instead of replacing it.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-07 10:55:00 +02:00
Harald Hoyer
a969fffac9
fix: use lib.recursiveUpdate by default
the custom `recursiveMerge` function was not working as expected.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-05 14:19:58 +02:00
Harald Hoyer
d2b836216b
feat: add mkSGXContainer nix function
to build SGX container in one go.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
2024-06-05 13:53:22 +02:00