mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
dockertools.buildLayeredImage: default layer count up to 100
This commit is contained in:
parent
2e6a16f2bd
commit
8adaae2df2
@ -312,7 +312,10 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
|
|||||||
Maximum number of layers to create.
|
Maximum number of layers to create.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
<emphasis>Default:</emphasis> <literal>24</literal>
|
<emphasis>Default:</emphasis> <literal>100</literal>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
<emphasis>Maximum:</emphasis> <literal>125</literal>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -291,9 +291,10 @@ rec {
|
|||||||
# Files to add to the layer.
|
# Files to add to the layer.
|
||||||
closure,
|
closure,
|
||||||
configJson,
|
configJson,
|
||||||
# Docker has a 42-layer maximum, we pick 24 to ensure there is plenty
|
# Docker has a 125-layer maximum, we pick 100 to ensure there is
|
||||||
# of room for extension
|
# plenty of room for extension.
|
||||||
maxLayers ? 24
|
# https://github.com/moby/moby/blob/b3e9f7b13b0f0c414fa6253e1f17a86b2cff68b5/layer/layer_store.go#L23-L26
|
||||||
|
maxLayers ? 100
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
storePathToLayer = substituteAll
|
storePathToLayer = substituteAll
|
||||||
|
Loading…
Reference in New Issue
Block a user