From b26d82785a85073eb47a47631381b6a2167a15f5 Mon Sep 17 00:00:00 2001 From: Jason Washburn Date: Thu, 27 Jul 2023 01:56:15 +0000 Subject: [PATCH] devcontainer: use spin installer vs src --- .devcontainer/postCreateCommands.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.devcontainer/postCreateCommands.sh b/.devcontainer/postCreateCommands.sh index 7a9165b..02da6b2 100755 --- a/.devcontainer/postCreateCommands.sh +++ b/.devcontainer/postCreateCommands.sh @@ -2,12 +2,10 @@ set -ex -# Build and install spin from source +# Install spin cd /tmp -git clone -b $SPIN_VERSION https://github.com/fermyon/spin -cd spin -make build -sudo cp ./target/release/spin /usr/local/bin +curl -fsSL https://developer.fermyon.com/downloads/install.sh | bash +sudo mv ./spin /usr/local/bin/spin cd /workspaces/spin-python-sdk # Build cPython for wasm32