From 204fa5d0c1d4148b0706970a6a27e928891adf14 Mon Sep 17 00:00:00 2001 From: njelich <12912633+njelich@users.noreply.github.com> Date: Thu, 1 Feb 2024 22:41:18 +0100 Subject: [PATCH] minor devcontainer updates --- .devcontainer/devcontainer.json | 2 +- .devcontainer/init.sh | 2 ++ .devcontainer/near-cli/devcontainer-feature.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bee0e89..2075740 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,7 +34,7 @@ // 👇 Configure tool-specific properties. // "customizations": {}, - // "remoteUser": "vscode", + "remoteUser": "vscode", "customizations": { "codespaces": { diff --git a/.devcontainer/init.sh b/.devcontainer/init.sh index 661b9e2..7fe7f00 100644 --- a/.devcontainer/init.sh +++ b/.devcontainer/init.sh @@ -1,3 +1,5 @@ +# Get correct rust for repo (will be redundant once repo changes to stable) cargo +# Cache images that will be used on source verification docker image pull nearprotocol/contract-builder:latest-amd64 \ No newline at end of file diff --git a/.devcontainer/near-cli/devcontainer-feature.json b/.devcontainer/near-cli/devcontainer-feature.json index 2cd164b..1736330 100644 --- a/.devcontainer/near-cli/devcontainer-feature.json +++ b/.devcontainer/near-cli/devcontainer-feature.json @@ -4,5 +4,5 @@ "version": "0.1.0", "description": "A feature to install the near-cli", "options": {}, - "installsAfter": [] + "installsAfter": ["ghcr.io/devcontainers/features/rust", "ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall"] }