File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
chapter07/hello-wasm-container Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ echo "[LOG] Docker restarted."
3434# Step 3: Download the appropriate runwasi release
3535ARCH=$( uname -m)
3636RELEASE_VERSION=" v0.5.0"
37- BASE_URL=" https://github.com/containerd/runwasi/releases/download/containerd-shim-wasmtime %2F${RELEASE_VERSION} "
37+ BASE_URL=" https://github.com/containerd/runwasi/releases/download/containerd-shim-wasmedge %2F${RELEASE_VERSION} "
3838
3939case " $ARCH " in
4040 x86_64)
41- FILENAME=" containerd-shim-wasmtime -x86_64-linux-musl.tar.gz"
41+ FILENAME=" containerd-shim-wasmedge -x86_64-linux-musl.tar.gz"
4242 ;;
4343 aarch64)
44- FILENAME=" containerd-shim-wasmtime -aarch64-linux-musl.tar.gz"
44+ FILENAME=" containerd-shim-wasmedge -aarch64-linux-musl.tar.gz"
4545 ;;
4646 * )
4747 echo " [ERROR] Unsupported architecture: $ARCH "
@@ -57,13 +57,13 @@ echo "[LOG] Extracting $FILENAME..."
5757tar -xzf " $FILENAME "
5858
5959# Step 4: Install the shim binary
60- echo " [LOG] Installing containerd-shim-wasmtime -v1 to /usr/local/bin..."
61- chmod +x containerd-shim-wasmtime -v1
62- sudo install containerd-shim-wasmtime -v1 /usr/local/bin/
60+ echo " [LOG] Installing containerd-shim-wasmedge -v1 to /usr/local/bin..."
61+ chmod +x containerd-shim-wasmedge -v1
62+ sudo install containerd-shim-wasmedge -v1 /usr/local/bin/
6363
6464# Step 5: Cleanup
6565echo " [LOG] Cleaning up downloaded files..."
66- rm -rf containerd-shim-wasmtime -*
66+ rm -rf containerd-shim-wasmedge -*
6767
6868echo " [LOG] Shim installed and system cleaned up successfully."
6969echo " [LOG] Setup complete."
You can’t perform that action at this time.
0 commit comments