about summary refs log tree commit diff
path: root/tools/nixery/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-08T19·57+0100
committerVincent Ambo <github@tazj.in>2019-08-08T20·15+0100
commitc727b3ca9ea44e5dbc2f4c7b280af26f8c53a526 (patch)
tree21e8a336c6f190333dfd656c14090283afc1b04a /tools/nixery/default.nix
parent993fda337755e02e4505b0a85f14581baa8ed1d0 (diff)
chore(nix): Increase maximum number of layers to 96
This uses a significantly larger percentage of the total available
layers (125) than before, which means that cache hits for layers
become more likely between images.
Diffstat (limited to 'tools/nixery/default.nix')
-rw-r--r--tools/nixery/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix
index 4f0b14c90394..092c76e9c5b9 100644
--- a/tools/nixery/default.nix
+++ b/tools/nixery/default.nix
@@ -30,7 +30,6 @@ rec {
     # or similar (as other required files will not be included), but
     # buildGoPackage requires a package path.
     goPackagePath = "github.com/google/nixery";
-
     goDeps = ./go-deps.nix;
     src    = ./.;
 
@@ -116,6 +115,7 @@ rec {
   in dockerTools.buildLayeredImage {
     name = "nixery";
     config.Cmd = ["${nixery-launch-script}/bin/nixery"];
+    maxLayers = 96;
     contents = [
       cacert
       coreutils