mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-07 07:25:12 +00:00
![]() Implement WAMR-IDE with vscode extension to enable developing WebAssembly applications with coding, building, running and debugging support. Support both Linux and Windows, and only support putting all the tools in a docker image, e.g. wasi-sdk, wamrc, iwasm and so on. Co-authored-by: Wang Ning <justdoitwn@163.com> |
||
---|---|---|
.. | ||
resource | ||
.dockerignore | ||
build_docker_image.bat | ||
build_docker_image.sh | ||
Dockerfile | ||
README.md | ||
run_container.bat | ||
run_container.sh |
WASM Toolchain Provider Introduction
Files on HOST
Dockerfile
- ubuntu : 20.04
- set up the necessary toolchains
- WASI-SDK (version: 12.0)
- WAMR-SDK
- repo: bytecode-alliance/wasm-micro-runtime
- branch: main
- LLVM (latest repo build)
- CMake (version: 3.21.1)
build_docker_image.sh
- the script to build docker image for Linux platform
- tag: 1.0
build_docker_image.bat
- the script to build docker image for windows platform
- tag: 1.0
run_container.sh
- the script to start and run the docker container for Linux platform
- mount
host directory
andcontainer directory
- temporally using
$(pwd)/host_mnt_test
in host and/mnt
in container
- temporally using
- set docker container name with
--name
- temporally set to wasm-toolchain-ctr
run_container.bat
- the script to start and run the docker container for windows platform
Files inside docker
wamrc
wasi-sdk
Build Docker Image
- Linux
chmod +x resource/*
./build_docker_image.sh
- Windows
./build_docker_image.bat
Run Docker Container
- Linux
./run_container.sh
- Windows
./run_container.bat