-
Notifications
You must be signed in to change notification settings - Fork 111
Description
This is a feature request to allow distribution of apps targeting runwasi
using OCI artifacts, and not as a container images.
Currently, all applications targeting runwasi
need to be distributed as a container image, with the structure carefully constructed. This is not an ideal long-term solution for a number of reasons, deduplication of Wasm files and static assets being one of them, particularly in the context of bytecodealliance/registry#87 and https://hackmd.io/50rfwV6BTJWN8VZBhdAN_g.
Ideally, pulling the artifact could be done by the actual shim implementation — and implementations could continue to default to wrapping the Wasm app in a container image; however, some shim implementations would benefit greatly from using their existing mechanism of distributing apps using OCI artifacts (see https://developer.fermyon.com/spin/distributing-apps.md#publishing-a-spin-application-to-a-registry).
Thoughts?
cc @rumpl, @squillace, @Mossaka, @devigned.