Use Docker for WasmEdge app development
Here is the and Docker Hub image.
$ docker run --rm -v $(pwd):/app -it wasmedge/appdev_aarch64:0.9.0
(docker) #
The WasmEdge application development Docker image installs the following components.
- WasmEdge CLI and shared libraries
- WasmEdge with Tensorflow extension CLI and libraries (x86_64 only)
- Golang
- Rust
- Examples in the folder
Use AOT to run it much faster.
$ wasmedgec hello.wasm hello.wasm
$ wasmedge hello.wasm world
hello
Run these commands to build and publish the appdev
Docker images.
docker build -t wasmedge/appdev_x86_64:0.9.0 -f Dockerfile.appdev_x86_64 ./