From e3d76ad14d28b3dc4a4da6ea9e6cff7ae393cd84 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Thu, 31 Aug 2023 16:07:00 -0500 Subject: [PATCH] use dependsOn --- devcontainer-feature.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/devcontainer-feature.json b/devcontainer-feature.json index a2b049f..3fc07a9 100644 --- a/devcontainer-feature.json +++ b/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "Tiny Go (no sudo)", "id": "tinygo", - "version": "1.0.0", + "version": "1.1.0", "description": "A feature to install tiny go (no sudo)", "options": { "version": { @@ -10,19 +10,15 @@ "description": "Specify a version of Tiny Go" } }, - "installsAfter": [ - "ghcr.io/devcontainers/features/rust", - "cargo_binstall" - ], + "dependsOn": { + "ghcr.io/devcontainers/features/go": {} + }, "customizations": { "vscode": { "extensions": [ "tinygo.vscode-tinygo", "golang.go" - ], - "features": { - "ghcr.io/devcontainers/features/go:1": {} - } + ] } } }