You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Docker-based builder for creating [WASI (WebAssembly System Interface)](https://wasi.dev/) components from Rust source code using the [cargo-component](https://github.com/bytecodealliance/cargo-component) tool.
4
+
5
+
## Features
6
+
7
+
- Builds WASI components from Rust crates
8
+
- Supports both debug and release modes
9
+
- Secure sandboxed build environment
10
+
- Reproducible builds with fixed versions
11
+
- Multi-architecture support (amd64, arm64)
12
+
13
+
## Development
14
+
15
+
```bash
16
+
# Install Task (if not already installed)
17
+
curl -sL https://taskfile.dev/install.sh | sh
18
+
19
+
# Setup buildx for multi-arch builds
20
+
task setup-buildx
21
+
22
+
# Clean up buildx
23
+
task clean
24
+
```
25
+
26
+
## Quick Start
27
+
28
+
```bash
29
+
# Build the Docker image
30
+
task build
31
+
32
+
# Test the build
33
+
task test
34
+
```
35
+
36
+
## Usage
37
+
38
+
The container expects your Rust component to be mounted at `/docker/<component-name>` and will output built WASM files to the specified directory.
0 commit comments