unikraft / catalog

Unikraft Applications & Examples Catalog
23 stars 29 forks source link

feat(library): Introduce WAMR #7

Open razvand opened 8 months ago

razvand commented 8 months ago

Introduce WAMR (Wasm Micro Runtime) native application for Unikraft. The version used is an older commit (pre-stable release): bc762f.

Add required files: Kraftfile, Makefile.uk and README.md.

The root filesystem (in rootfs/) provides the pre-built main.wasm file, passed to as the cmd in Kraftfile.

nderjung commented 8 months ago

Hi, can you remove the rootfs (since it's a compiled binary, these should stay out of the tree). We can add an example later on that builds one and uses this as a base.

Could you please also add a workflow for this?

Additionally, the use of the version bc762f is not very friendly. I looked up this commit, and it's part of one of the earliest releases of WAMR back in 2019. Maybe let's call this image unikraft.org/wamr:2019 ?