wasm-to-oci icon indicating copy to clipboard operation
wasm-to-oci copied to clipboard

Please allow different media types

Open rahulanand16nov opened this issue 4 years ago • 2 comments

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?

rahulanand16nov avatar Nov 18 '21 12:11 rahulanand16nov

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

radu-matei avatar Nov 18 '21 18:11 radu-matei

@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.

rahulanand16nov avatar Nov 26 '21 10:11 rahulanand16nov