diff options
author | Paul Yu <pauyu@microsoft.com> | 2022-11-14 23:22:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 23:22:02 +0300 |
commit | eafa28287e15b51a2aa20a227056f0af43d20275 (patch) | |
tree | 0f411627b91ba04b9d1d3664b4e12fe003000c47 /src/azure-cli/devcontainer-feature.json | |
parent | e00724a0c6d4c4f8fab166e065d2b00c7357514b (diff) |
Add new option to install azure-cli extensions (#165)
* Add new option for azure-cli extensions
* Update to install az extensions as $_REMOTE_USER
* Skip unknown extensions
* Change azure cli extension option type to string
* Adding test for azure-cli extensions
Diffstat (limited to 'src/azure-cli/devcontainer-feature.json')
-rw-r--r-- | src/azure-cli/devcontainer-feature.json | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/azure-cli/devcontainer-feature.json b/src/azure-cli/devcontainer-feature.json index 12a4092..012e287 100644 --- a/src/azure-cli/devcontainer-feature.json +++ b/src/azure-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "azure-cli", - "version": "1.0.5", + "version": "1.0.6", "name": "Azure CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/azure-cli", "description": "Installs the Azure CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.", @@ -12,16 +12,21 @@ ], "default": "latest", "description": "Select or enter an Azure CLI version. (Available versions may vary by Linux distribution.)" + }, + "extensions": { + "type": "string", + "default": "", + "description": "Optional comma separated list of Azure CLI extensions to install in profile." } }, "customizations": { - "vscode": { - "extensions": [ - "ms-vscode.azurecli" - ] - } + "vscode": { + "extensions": [ + "ms-vscode.azurecli" + ] + } }, "installsAfter": [ "ghcr.io/devcontainers/features/common-utils" ] -} +}
\ No newline at end of file |