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
feat(*): use published images instead of locally built ones
- Replaced `make load` with `sudo make pull`
- Updated documents to pull images from `ghcr.io` instead of building them locally
Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
@echo $(CTR_VERSION)\\nv1.7.7 | sort -crV || @echo $(CTR_VERSION)\\nv1.6.25 | sort -crV || (echo "containerd version must be 1.7.7+ or 1.6.25+ was $(CTR_VERSION)"&&exit 1)
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,11 +146,10 @@ sudo make install
146
146
147
147
> Note: `make build` will only build one binary. The `make install` command copies the binary to $PATH and uses symlinks to create all the component described above.
148
148
149
-
Build the test image and load it into containerd:
149
+
Pull the test image:
150
150
151
151
```
152
-
make test-image
153
-
make load
152
+
sudo make pull-app
154
153
```
155
154
156
155
### Demo 1 using container image that contains a Wasm module.
@@ -185,11 +184,10 @@ To learn more about this approach checkout the [design document](https://docs.go
185
184
186
185
> **Note**: This requires containerd 1.7.7+ and 1.6.25+. If you do not have these patches for both `containerd` and `ctr` you will end up with an error message such as `mismatched image rootfs and manifest layers` at the import and run steps. Latest versions of k3s and kind have the necessary containerd versions.
187
186
188
-
Build and import the OCI image with WASM layers image:
187
+
Pull the OCI image with WASM layers image:
189
188
190
189
```
191
-
make test-image/oci
192
-
make load/oci
190
+
sudo make pull
193
191
```
194
192
195
193
Run the image with `sudo ctr run --rm --runtime=io.containerd.[ wasmedge | wasmtime | wasmer | wamr ].v1 ghcr.io/containerd/runwasi/wasi-demo-oci:latest testwasmoci`
@@ -205,8 +203,6 @@ exiting
205
203
The [CNCF tag-runtime wasm working group](https://tag-runtime.cncf.io/wgs/wasm/charter/) has a [OCI Artifact format for Wasm](https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/). This is a new Artifact type that enable the usage across projects beyond just runwasi, see the https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/#implementations
Copy file name to clipboardExpand all lines: docs/windows-getting-started.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,7 @@ To finish off installing pre-requisites, install Rust following [this](https://w
15
15
After following these steps and navigating to the runwasi directory in your terminal:
16
16
- run `make build`,
17
17
- run `make install`,
18
-
- run `make test-image`, and
19
-
- run `make load`.
18
+
- run `sudo make pull-app`.
20
19
21
20
After this, you can execute an example, like: `ctr run --rm --runtime=io.containerd.wasmtime.v1 ghcr.io/containerd/runwasi/wasi-demo-app:latest testwasm`.
0 commit comments