File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
powershell/PSCloudShellUtility Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1817,7 +1817,8 @@ function Get-PackageVersion() {
1817
1817
@ {displayname = " Azure CLI" ; command = " az" ; args = " version " ; match = " `" azure-cli`" : `" (.+)`" " },
1818
1818
@ {displayname = " Kubectl" ; command = " kubectl" ; args = " version --client=true --short=true" ; match = " Client Version: v(.+)" }
1819
1819
@ {displayname = " Terraform" ; command = " terraform" ; args = " version" ; match = " Terraform v(.+)" },
1820
- @ {displayname = " GitHub CLI" ; command = " gh" ; args = " --version" ; match = " gh version (.+) \(.*" }
1820
+ @ {displayname = " GitHub CLI" ; command = " gh" ; args = " --version" ; match = " gh version (.+) \(.*" },
1821
+ @ {displayname = " Azure Developer CLI" ; command = " azd" ; args = " version" ; match = " azd version (\d+\.\d+\.\d+(-[\w\d\.]*)?).*" }
1821
1822
)
1822
1823
1823
1824
foreach ($package in $packageVersionDetections ) {
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ RUN az aks install-cli \
29
29
&& chmod +x /usr/local/bin/kubectl \
30
30
&& chmod +x /usr/local/bin/kubelogin
31
31
32
+ # Install azure-developer-cli (azd)
33
+ ENV AZD_IN_CLOUDSHELL 1
34
+ ENV AZD_SKIP_UPDATE_CHECK 1
35
+ RUN curl -fsSL https://aka.ms/install-azd.sh | bash
36
+
32
37
RUN mkdir -p /usr/cloudshell
33
38
WORKDIR /usr/cloudshell
34
39
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ avcstat
91
91
awk
92
92
az
93
93
azcopy
94
+ azd
94
95
b2sum
95
96
badblocks
96
97
base32
You can’t perform that action at this time.
0 commit comments