diff options
author | Graham Christensen <graham@grahamc.com> | 2019-12-16 13:03:48 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2019-12-16 13:14:21 -0500 |
commit | 9c02760855d8a33ca9c8915458bd9f1647d8e433 (patch) | |
tree | 88b2c6056f7f3c6dd02cf61b30ba71034dccb17d /pkgs/build-support/docker/default.nix | |
parent | e1c6965beb89e861ec5b4f2d9d75c89f8bc8bfa8 (diff) | |
download | nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar.gz nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar.bz2 nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar.lz nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar.xz nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.tar.zst nixpkgs-9c02760855d8a33ca9c8915458bd9f1647d8e433.zip |
dockerTools.buildLayeredImage: update maxlayers from 24 to 100 to match documentation
mkManyPureLayers already was changed, and this function was not updated.
Diffstat (limited to 'pkgs/build-support/docker/default.nix')
-rw-r--r-- | pkgs/build-support/docker/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 2a25ac04d40..fba6b15d238 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -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; |