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
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,7 @@ Keys supported by image output:
289
289
*`dangling-name-prefix=<value>`: name image with `prefix@<digest>`, used for anonymous images
290
290
*`name-canonical=true`: add additional canonical name `name@<digest>`
291
291
*`compression=<uncompressed|gzip|estargz|zstd>`: choose compression type for layers newly created and cached, gzip is default value. estargz should be used with `oci-mediatypes=true`.
292
+
*`compression-variant=<gzip|igzip|pigz>`: choose different compression method for gzip, only worked with `compression=gzip`.
292
293
*`compression-level=<value>`: compression level for gzip, estargz (0-9) and zstd (0-22)
293
294
*`rewrite-timestamp=true`: rewrite the file timestamps to the `SOURCE_DATE_EPOCH` value.
294
295
See [`docs/build-repro.md`](docs/build-repro.md) for how to specify the `SOURCE_DATE_EPOCH` value.
@@ -467,6 +468,7 @@ buildctl build ... \
467
468
*`image-manifest=<true|false>`: whether to export cache manifest as an OCI-compatible image manifest rather than a manifest list/index (default: `true` since BuildKit `v0.21`, must be used with `oci-mediatypes=true`)
468
469
*`oci-mediatypes=<true|false>`: whether to use OCI mediatypes in exported manifests (default: `true`, since BuildKit `v0.8`)
469
470
*`compression=<uncompressed|gzip|estargz|zstd>`: choose compression type for layers newly created and cached, gzip is default value. estargz and zstd should be used with `oci-mediatypes=true`
471
+
*`compression-variant=<gzip|igzip|pigz>`: choose different compression method for gzip, only worked with `compression=gzip`.
470
472
*`compression-level=<value>`: choose compression level for gzip, estargz (0-9) and zstd (0-22)
471
473
*`force-compression=true`: forcibly apply `compression` option to all layers
472
474
*`ignore-error=<false|true>`: specify if error is ignored in case cache export fails (default: `false`)
@@ -494,6 +496,7 @@ The directory layout conforms to OCI Image Spec v1.0.
494
496
*`image-manifest=<true|false>`: whether to export cache manifest as an OCI-compatible image manifest rather than a manifest list/index (default: `true` since BuildKit `v0.21`, must be used with `oci-mediatypes=true`)
495
497
*`oci-mediatypes=<true|false>`: whether to use OCI mediatypes in exported manifests (default `true`, since BuildKit `v0.8`)
496
498
*`compression=<uncompressed|gzip|estargz|zstd>`: choose compression type for layers newly created and cached, gzip is default value. estargz and zstd should be used with `oci-mediatypes=true`.
499
+
*`compression-variant=<gzip|igzip|pigz>`: choose different compression method for gzip, only worked with `compression=gzip`.
497
500
*`compression-level=<value>`: compression level for gzip, estargz (0-9) and zstd (0-22)
498
501
*`force-compression=true`: forcibly apply `compression` option to all layers
499
502
*`ignore-error=<false|true>`: specify if error is ignored in case cache export fails (default: `false`)
0 commit comments