Skip to content

Commit

Permalink
fix(nix): separate maxLayers by three
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Jul 1, 2024
1 parent 2a90045 commit 86c432e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix/containers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
tag = "latest";
# created = "now";

maxLayers = 121;
maxLayers = 118;

contents = devcontainerContents;
config = makeContainerConfig {
Expand All @@ -181,7 +181,7 @@
tag = "latest";
# created = "now";

maxLayers = 121;
maxLayers = 118;

contents = devcontainerContents;
# runAsRoot = ''
Expand All @@ -208,7 +208,7 @@ in rec {
containerImage = pkgs.dockerTools.buildLayeredImageWithNixDb {
name = "${packageName}";
tag = "latest";
maxLayers = 122;
maxLayers = 121;
fromImage = baseContainerImage;
contents = [packageGitRepoToContainer];
config = {
Expand All @@ -223,7 +223,7 @@ in rec {
devcontainerImage = pkgs.dockerTools.buildLayeredImageWithNixDb {
name = "${packageName}dev";
tag = "latest";
maxLayers = 122;
maxLayers = 121;
fromImage = baseDevContainerImage;
contents = [packageGitRepoToContainer];
config = {
Expand Down

0 comments on commit 86c432e

Please sign in to comment.