Add wget as a dependency for Bootstrap script (#16303)

* Add wget as a dependency for installation script

* Add wget as a dependency for alpine
This commit is contained in:
Nikolay Kondratyev 2021-10-26 19:50:57 +01:00 committed by GitHub
parent 15ac9485de
commit d391168ece
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1995,6 +1995,9 @@ function Start-PSBootstrap {
# Build tools
$Deps += "cmake"
# wget for downloading dotnet
$Deps += "wget"
# .NET Core required runtime libraries
$Deps += "openssl"
@ -2002,7 +2005,7 @@ function Start-PSBootstrap {
# ignore exitcode, because they may be already installed
Start-NativeExecution ([ScriptBlock]::Create("$PackageManager install $Deps")) -IgnoreExitcode
} elseif ($environment.IsLinux -and $environment.IsAlpine) {
$Deps += 'libunwind', 'libcurl', 'bash', 'cmake', 'clang', 'build-base', 'git', 'curl'
$Deps += 'libunwind', 'libcurl', 'bash', 'cmake', 'clang', 'build-base', 'git', 'curl', 'wget'
Start-NativeExecution {
Invoke-Expression "apk add $Deps"