Sign inSign up

dcsunset/rust-wasm

By dcsunset

•Updated almost 6 years ago

A docker image for compiling rust-wasm based on alpine image.

Image
0

872

dcsunset/rust-wasm repository overview

⁠docker-rust-wasm

Docker Cloud Build Status Docker Image Size

A docker image for compiling rust-wasm based on alpine image.

⁠Usage

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

⁠License

MIT License

Tag summary

Content type

Image

Digest

Size

300.1 MB

Last updated

almost 6 years ago

docker pull dcsunset/rust-wasm