From 28602af35aceda2f8d571bad7ca37a54cf0250bc 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 (