diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a899524..6b99a42 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "ghcr.io/asw101/rust-wasi-hello-devcontainer:latest", + "image": "ghcr.io/bytecodealliance/sample-wasi-http-rust-devcontainer:latest", "features": { //"ghcr.io/devcontainers/features/rust:1": {}, "ghcr.io/devcontainers/features/azure-cli:1": {} diff --git a/.devcontainer/docker/Dockerfile b/.devcontainer/docker/Dockerfile index 20136f2..44e2f8a 100644 --- a/.devcontainer/docker/Dockerfile +++ b/.devcontainer/docker/Dockerfile @@ -3,5 +3,8 @@ FROM mcr.microsoft.com/devcontainers/rust:${TAG} USER vscode -COPY ./scripts /tmp/scripts/ -RUN bash /tmp/scripts/install.sh +# Install wasmtime +RUN curl https://wasmtime.dev/install.sh -sSf | bash + +# Install cargo-component and wkg +RUN cargo install cargo-component wkg