Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
7b13e160
Commit
7b13e160
authored
Jul 29, 2022
by
Josh Spicer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
port over
https://github.com/microsoft/vscode-dev-containers/issues/1555
parent
668a9cf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
install.sh
src/azure-cli/install.sh
+2
-0
No files found.
src/azure-cli/install.sh
View file @
7b13e160
...
...
@@ -164,6 +164,7 @@ install_using_pip() {
echo
"(*) Installing Azure CLI..."
.
/etc/os-release
architecture
=
"
$(
dpkg
--print-architecture
)
"
CACHED_AZURE_VERSION
=
"
${
AZ_VERSION
}
"
# In case we need to fallback to pip and the apt path has modified the AZ_VERSION variable.
if
[[
"
${
AZCLI_ARCHIVE_ARCHITECTURES
}
"
=
*
"
${
architecture
}
"
*
]]
&&
[[
"
${
AZCLI_ARCHIVE_VERSION_CODENAMES
}
"
=
*
"
${
VERSION_CODENAME
}
"
*
]]
;
then
install_using_apt
||
use_pip
=
"true"
else
...
...
@@ -171,6 +172,7 @@ else
fi
if
[
"
${
use_pip
}
"
=
"true"
]
;
then
AZ_VERSION
=
${
CACHED_AZURE_VERSION
}
install_using_pip
if
[
"
$?
"
!=
0
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment