We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f208f commit b6924a7Copy full SHA for b6924a7
src/lib/ops/mkDevOCI.nix
@@ -31,6 +31,7 @@ in
31
config: Additional options to pass to nix2container.buildImage's config.
32
options: Additional options to pass to nix2container.buildImage.
33
preLoadStorePaths: A list of store paths to preload/copy into the container.
34
+ maxLayers: Number of layers to use during nix2container.buildLayer.
35
36
Returns:
37
An OCI container image (created with nix2container).
@@ -50,6 +51,7 @@ in
50
51
labels ? {},
52
config ? {},
53
options ? {},
54
+ maxLayers ? 100,
55
}: let
56
# vscode defaults to "vscode" as the user
57
user' =
@@ -227,7 +229,7 @@ in
227
229
# Required for fetching additional packages
228
230
nixpkgs.cacert
231
];
- maxLayers = 100;
232
+ inherit maxLayers;
233
})
234
235
0 commit comments