Skip to content

Commit

Permalink
Merge pull request #1235 from flouthoc/fix-wasmedge-check
Browse files Browse the repository at this point in the history
docs: remove `module.wasm.image/variant=compat` annotation from `podman` example.
  • Loading branch information
giuseppe authored Jun 6, 2023
2 parents 12cf4fe + ef224f9 commit 7da99fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/wasm-wasi-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ This is from a main function from a wasm module
COPY hello.wasm /
CMD ["/hello.wasm"]
```
* Build wasm image using buildah with annotation `module.wasm.image/variant=compat`
* Build wasm image using buildah
```console
$ buildah build --annotation "module.wasm.image/variant=compat" -t mywasm-image .
$ buildah build --platform=wasi/wasm -t mywasm-image .
```
* Make sure your podman points to oci runtime `crun` build with `wasm` support.
* Run image using podman
Expand Down

0 comments on commit 7da99fb

Please sign in to comment.