From 9ab7b0ed4315718cd5cccc18965295f033cdf3d1 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Fri, 16 Dec 2016 11:12:11 -0800 Subject: [PATCH] Add uncompressed layer media type Signed-off-by: Derek McGowan (github: dmcgowan) --- manifest/schema2/manifest.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest/schema2/manifest.go b/manifest/schema2/manifest.go index 485f38a7..8bff24eb 100644 --- a/manifest/schema2/manifest.go +++ b/manifest/schema2/manifest.go @@ -27,6 +27,10 @@ const ( // MediaTypeForeignLayer is the mediaType used for layers that must be // downloaded from foreign URLs. MediaTypeForeignLayer = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip" + + // MediaTypeUncompressedLayer is the mediaType used for layers which + // are not compressed. + MediaTypeUncompressedLayer = "application/vnd.docker.image.rootfs.diff.tar" ) var (