You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1271,7 +1272,7 @@ multiple times for multiple registries.
1271
1272
1272
1273
Builds only used stages. If set to `false` it builds all stages, even the unnecessary ones until it reaches the target stage / end of Dockerfile.
1273
1274
Defaults to `true`.
1274
-
Will be deprecated in `v1.27.0`.
1275
+
Will be deprecated in `v1.27.0`, if we manage to implement multi-target builds by then.
1275
1276
1276
1277
#### Flag `--snapshot-mode`
1277
1278
@@ -1401,6 +1402,13 @@ We noticed that there is a significant performance gap when using http/2.0 toget
1401
1402
Defaults to `false`.
1402
1403
Currently no plans to activate.
1403
1404
1405
+
#### Flag `FF_KANIKO_OCI_WARMER`
1406
+
1407
+
Warmer stores images in a tarball via go-containerregistry. However, this approach creates two problems. The tarball writer only supports dockerv2 mediatype, so building from warmer cache might result in a different output image than building from remote, as we forcefully rewrite all images to that mediatype. Secondly, the performance/usability of that approach is suboptimal, as we either store the manifest in a separate file, causing consistency issues or recalculate upon load (see [`FF_KANIKO_IGNORE_CACHED_MANIFEST`](#flag-ff_kaniko_ignore_cached_manifest)). With this change we use ocilayout instead. Ocilayout folders support arbitrary mediatypes and store the manifest alongside the image data.
1408
+
Set this flag to `true` to store warmer cache images as ocilayout. Note that this flag has to be passed to both warmer and executor. Note that currently there is no mutex lock mechanism yet, so it does not support multiple parallel writes.
1409
+
Defaults to `false`.
1410
+
Becomes default in `v1.27.0`, if we manage to resolve the mutex lock issue by then.
1411
+
1404
1412
#### Flag `FF_KANIKO_RUN_VIA_TINI`
1405
1413
1406
1414
Kaniko usually runs as PID1 in the container, but kaniko currently does not implement reaping of zombie processes, nor does it offload that task to the kernel. As a result, any short-lived child processes spawned by your `RUN` command may linger around as zombies and potentially cause your build to hang.
0 commit comments