Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please allow different media types #27

Open
rahulanand16nov opened this issue Nov 18, 2021 · 2 comments
Open

Please allow different media types #27

rahulanand16nov opened this issue Nov 18, 2021 · 2 comments

Comments

@rahulanand16nov
Copy link

If I am understanding this correctly, wasm-to-oci uses application/vnd.wasm.content.layer.v1+wasm media type. In the official artifact layer type, we can see this media type: https://github.com/opencontainers/artifacts/blob/main/artifact-authors.md#example-layer-types.

Is there any future plans to allow different media types?

@radu-matei
Copy link
Member

I agree that the media type should be configurable -- do you have any suggestions for a better default?
Thanks!

@rahulanand16nov
Copy link
Author

@radu-matei Sorry for the late reply. These modules are in large have been used as extensions for the edge compute (like proxies). For example, Envoy doesn't accept the current default media type but instead uses application/vnd.oci.image.layer.v1.tar+gzip. Having a default media type that covers a large part of wasm's use case would be better IMO. Let me know what you think.

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

No branches or pull requests

2 participants