Skip to content

Commit

Permalink
Merge pull request #67 from ozwaldorf/main
Browse files Browse the repository at this point in the history
feat(sgxGramineContainer): expose maxLayers argument from image builder
  • Loading branch information
haraldh authored Nov 13, 2024
2 parents ee9445b + 0b72b70 commit 88c0700
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlays/libTee/sgxGramineContainer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
, sigFile ? null
, extendedPackages ? [ ]
, customRecursiveMerge ? null
, maxLayers ? 100
}:
assert lib.assertMsg (!(isAzure && sgx_default_qcnl_conf != null)) "sgx_default_qcnl_conf can't be set for Azure";
let
Expand Down Expand Up @@ -201,6 +202,7 @@ let
inherit tag;
inherit contents;
inherit fromImage;
inherit maxLayers;

includeStorePaths = false;
extraCommands = (mkNixStore contents) + ''
Expand Down Expand Up @@ -231,6 +233,7 @@ let
inherit config;
inherit tag;
inherit fromImage;
inherit maxLayers;

includeStorePaths = false;
extraCommands = ''
Expand All @@ -247,6 +250,7 @@ let
inherit tag;
inherit config;
inherit fromImage;
inherit maxLayers;
contents = extendedContents;
};
in
Expand Down

0 comments on commit 88c0700

Please sign in to comment.