Refer to README in the example directory.
To build the runtime environment:
docker build -f Dockerfile . -t ${user}/wasm-env:${tag}
(WasmEdge
folder is from https://github.com/WasmEdge/WasmEdge/releases)
To build the builder environment:
cd builder/ && docker build -f Dockerfile . -t ${user}/wasm-builder:${tag}
The rust-code in example directory comes from https://github.com/second-state/wasm-learning.