Skip to content

Commit 97a01d9

Browse files
committed
layer: clarify that layers are gzipped
Signed-off-by: Jonathan Boulle <[email protected]>
1 parent e15b9c0 commit 97a01d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

layer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document will use a concrete example to illustrate how to create and consum
66

77
## Distributable Format
88

9-
Layer Changesets for the [mediatype](./media-types.md) `application/vnd.oci.image.layer.tar+gzip` MUST be packaged in [tar archive][tar-archive].
9+
Layer Changesets for the [mediatype](./media-types.md) `application/vnd.oci.image.layer.tar+gzip` MUST be packaged in a [tar archive][tar-archive] compressed with [gzip][gzip].
1010
Layer Changesets for the [mediatype](./media-types.md) `application/vnd.oci.image.layer.tar+gzip` MUST NOT include duplicate entries for file paths in the resulting [tar archive][tar-archive].
1111

1212
## Change Types
@@ -318,3 +318,4 @@ It is implementation-defined whether or not implementations upload layers tagged
318318
[libarchive-tar]: https://github.com/libarchive/libarchive/wiki/ManPageTar5#POSIX_ustar_Archives
319319
[gnu-tar-standard]: http://www.gnu.org/software/tar/manual/html_node/Standard.html
320320
[tar-archive]: https://en.wikipedia.org/wiki/Tar_(computing)
321+
[gzip]: http://www.zlib.org/rfc-gzip.html

media-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The following media types identify the formats described here and their referenc
77
- `application/vnd.oci.image.manifest.v1+json`: [Image manifest format](manifest.md#image-manifest)
88
- `application/vnd.oci.image.config.v1+json`: [Container config JSON](config.md)
99
- `application/vnd.oci.image.layer.tar+gzip`: ["Layer", as a gzipped tar archive](layer.md)
10-
- `application/vnd.oci.image.layer.nondistributable.tar+gzip`: ["Layer", as a gzipped tar that has distribution restrictions](layer.md#non-distributable-layers)
10+
- `application/vnd.oci.image.layer.nondistributable.tar+gzip`: ["Layer", as a gzipped tar archive with distribution restrictions](layer.md#non-distributable-layers)
1111

1212
## Compatibility Matrix
1313

0 commit comments

Comments
 (0)