Merge pull request #75779 from grahamc/dockertools/fixup-max-layers

dockerTools.buildLayeredImage: update maxlayers from 24 to 100 to match documentation
This commit is contained in:
Graham Christensen 2019-12-16 14:11:36 -05:00 committed by GitHub
commit 75b8f3820d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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