Skip to content

Commit

Permalink
add azd
Browse files Browse the repository at this point in the history
  • Loading branch information
darrentu committed Jul 24, 2023
1 parent 82045cf commit 34634c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,8 @@ function Get-PackageVersion() {
@{displayname = "Azure CLI"; command = "az"; args = "version "; match = "`"azure-cli`": `"(.+)`""},
@{displayname = "Kubectl"; command = "kubectl"; args = "version --client=true --short=true"; match = "Client Version: v(.+)"}
@{displayname = "Terraform"; command = "terraform"; args = "version"; match = "Terraform v(.+)"},
@{displayname = "GitHub CLI"; command = "gh"; args = "--version"; match = "gh version (.+) \(.*"}
@{displayname = "GitHub CLI"; command = "gh"; args = "--version"; match = "gh version (.+) \(.*"},
@{displayname = "Azure Developer CLI"; command = "azd"; args = "version"; match = "azd version (\d+\.\d+\.\d+(-[\w\d\.]*)?).*"}
)

foreach ($package in $packageVersionDetections) {
Expand Down
5 changes: 5 additions & 0 deletions linux/tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ RUN az aks install-cli \
&& chmod +x /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubelogin

# Install azure-developer-cli (azd)
ENV AZD_IN_CLOUDSHELL 1
ENV AZD_SKIP_UPDATE_CHECK 1
RUN curl -fsSL https://aka.ms/install-azd.sh | bash

RUN mkdir -p /usr/cloudshell
WORKDIR /usr/cloudshell

Expand Down
1 change: 1 addition & 0 deletions tests/command_list
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ avcstat
awk
az
azcopy
azd
b2sum
badblocks
base32
Expand Down

0 comments on commit 34634c8

Please sign in to comment.