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.
This commit is contained in:
parent
993fda3377
commit
c727b3ca9e
2 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue