opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
792 stars 199 forks source link

image spec says layers should have at least one entry #410

Closed rchincha closed 1 year ago

rchincha commented 1 year ago

https://github.com/opencontainers/distribution-spec/blob/57b69b6474e2299926802bb10014074d8592b6b8/conformance/02_push_test.go#L351

https://github.com/opencontainers/image-spec/blob/main/manifest.md#L61

"Each item in the array MUST be a descriptor. For portability, layers SHOULD have at least one entry."

https://github.com/opencontainers/image-spec/issues/1058

This needs reconciling.

rchincha commented 1 year ago

cc: @jdolitsky @sudo-bmitch