A docker image for compiling rust-wasm based on alpine image.
872
A docker image for compiling rust-wasm based on alpine image.
Mount your rust wasm project or cargo config into the container and compile it:
docker run -v <project_dir>:/repo -v <cargo_config>:/root/.cargo/ -w /repo dcsunset/rust-wasm wasm-pack build
Or you could gain more control by using the shell:
docker run -v <project_dir>:/repo -v <cargo_config>:/root/.cargo/ -w /repo dcsunset/rust-wasm sh
MIT License
Content type
Image
Digest
Size
300.1 MB
Last updated
almost 6 years ago
docker pull dcsunset/rust-wasm