mirror of
https://github.com/matter-labs/nixsgx.git
synced 2025-07-21 23:43:56 +02:00
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>
This commit is contained in:
parent
f6c55e4229
commit
83f9cc24ee
3 changed files with 17 additions and 32 deletions
|
@ -1,25 +1,6 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2024 Matter Labs
|
||||
{ lib
|
||||
, pkgs
|
||||
, inputs
|
||||
, nixsgx
|
||||
, hello
|
||||
}:
|
||||
pkgs.callPackage lib.nixsgx.mkSGXContainer {
|
||||
name = "nixsgx-test-sgx-azure";
|
||||
tag = "latest";
|
||||
|
||||
packages = [ hello ];
|
||||
entrypoint = lib.meta.getExe hello;
|
||||
|
||||
{ nixsgx }: nixsgx.nixsgx-test-sgx-dcap.override {
|
||||
container-name = "nixsgx-test-sgx-azure";
|
||||
isAzure = true;
|
||||
|
||||
manifest = {
|
||||
sgx = {
|
||||
edmm_enable = false;
|
||||
enclave_size = "32M";
|
||||
max_threads = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue