Skip to content

Commit

Permalink
adapt installer to spin shim v2
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Pfennig <[email protected]>
  • Loading branch information
0xE282B0 committed Nov 10, 2023
1 parent 5c87e53 commit 78520ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/installer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
RUN mkdir /assets \
&& curl -L https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.3/containerd-wasm-shims-v1-lunatic-linux-$(uname -m).tar.gz | tar -xzf - -C /assets \
&& curl -L https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.3/containerd-wasm-shims-v1-slight-linux-$(uname -m).tar.gz | tar -xzf - -C /assets \
&& curl -L https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.3/containerd-wasm-shims-v1-spin-linux-$(uname -m).tar.gz | tar -xzf - -C /assets \
&& curl -L https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.3/containerd-wasm-shims-v2-spin-linux-$(uname -m).tar.gz | tar -xzf - -C /assets \
&& curl -L https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.3/containerd-wasm-shims-v1-wws-linux-$(uname -m).tar.gz | tar -xzf - -C /assets


Expand Down
2 changes: 1 addition & 1 deletion script/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if ! grep -q wasmtime $NODE_ROOT$CONTAINERD_CONF; then
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.slight]
runtime_type = "'$KWASM_DIR'/bin/containerd-shim-slight-v1"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.spin]
runtime_type = "'$KWASM_DIR'/bin/containerd-shim-spin-v1"
runtime_type = "'$KWASM_DIR'/bin/containerd-shim-spin-v2"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.wws]
runtime_type = "'$KWASM_DIR'/bin/containerd-shim-wws-v1"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.wasmedge]
Expand Down

0 comments on commit 78520ba

Please sign in to comment.