Add uncompressed layer media type

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2016-12-16 11:12:11 -08:00
parent 6b998f2755
commit 9ab7b0ed43
No known key found for this signature in database
GPG key ID: F58C5D0A4405ACDB

View file

@ -27,6 +27,10 @@ const (
// MediaTypeForeignLayer is the mediaType used for layers that must be // MediaTypeForeignLayer is the mediaType used for layers that must be
// downloaded from foreign URLs. // downloaded from foreign URLs.
MediaTypeForeignLayer = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip" 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 ( var (