web-wasm,web-wasi: Add build tools

- Binaryen
- wabt
- WASI runtimes: wasmtime, wasmer, wavm, wasm3
This commit is contained in:
Matt McCormick
2022-01-01 21:40:22 -05:00
parent f096312a46
commit 6f3a3aad49
6 changed files with 80 additions and 8 deletions

4
imagefiles/wasmer-pwd.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Mount the PWD to enable access in try_run commands
exec ${WASMER_DIR}/bin/wasmer run --dir=. --dir=$PWD "$@"

4
imagefiles/wasmtime-pwd.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Mount the PWD to enable access in try_run commands
exec ${WASMTIME_HOME}/bin/wasmtime run --dir=. --dir=$PWD "$@"