diff --git a/features/dotnet-workload/devcontainer-feature.json b/features/dotnet-workload/devcontainer-feature.json new file mode 100644 index 0000000..196d42f --- /dev/null +++ b/features/dotnet-workload/devcontainer-feature.json @@ -0,0 +1,17 @@ +{ + "id": "dotnet-workload", + "version": "1.0.0", + "name": "dotnet workload", + "documentationURL": "", + "description": "dotnet workload", + "options": { + "workload": { + "type": "string", + "default": "", + "description": "Choose your favorite color." + } + }, + "installsAfter": [ + "ghcr.io/devcontainers/features/dotnet" + ] +} \ No newline at end of file diff --git a/features/dotnet-workload/install.sh b/features/dotnet-workload/install.sh new file mode 100644 index 0000000..4d90060 --- /dev/null +++ b/features/dotnet-workload/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash +export DEBIAN_FRONTEND=noninteractive + +echo "(*) Installing dotnet workload" + +dotnet workload update +dotnet workload ${WORKLOAD} + +echo "Done!" \ No newline at end of file