Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

FTBFS with image-spec 1.0.1: undefined: v1.MediaTypeImageManifestList #264

Open
onlyjob opened this issue May 27, 2018 · 2 comments
Open

Comments

@onlyjob
Copy link

onlyjob commented May 27, 2018

Please upgrade to latest release of opencontainers/image-spec (currently 1.0.1).

Docker2aci is currently locked to v1.0.0-rc2. With 1.0.1 it FTBFS as follows:

# github.com/appc/docker2aci/lib/common
src/github.com/appc/docker2aci/lib/common/common.go:134:31: undefined: v1.MediaTypeImageManifestList
@onlyjob
Copy link
Author

onlyjob commented May 27, 2018

This problem is due to MediaTypeImageManifestList --> MediaTypeImageIndex rename as per opencontainers/image-spec@ab461b0#diff-d8cff2f4f32a3ec6869ce8fa1175db40

@lucab
Copy link
Contributor

lucab commented May 28, 2018

It's unfortunately quite more complex than that. The final image-spec 1.0 is way different from the implementation done here at the time of -rc4.

This would need a full porting to the new OCI format, including the somewhat unfortunate primary key in the optional freeform annotations["org.opencontainers.image.ref.name"]. See #257 (comment) for full details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants