dockerTools.buildLayeredImage: update maxlayers from 24 to 100 to match documentation

mkManyPureLayers already was changed, and this function was not updated.
This commit is contained in:
Graham Christensen 2019-12-16 13:03:48 -05:00
parent e1c6965beb
commit 9c02760855
No known key found for this signature in database
GPG Key ID: FE918C3A98C1030F

View File

@ -528,11 +528,9 @@ rec {
created ? "1970-01-01T00:00:01Z",
# Optional bash script to run on the files prior to fixturizing the layer.
extraCommands ? "", uid ? 0, gid ? 0,
# Docker's lowest maximum layer limit is 42-layers for an old
# version of the AUFS graph driver. We pick 24 to ensure there is
# plenty of room for extension. I believe the actual maximum is
# 128.
maxLayers ? 24
# We pick 100 to ensure there is plenty of room for extension. I
# believe the actual maximum is 128.
maxLayers ? 100
}:
let
baseName = baseNameOf name;