From d391168ece22c9c3d596080e0f4d0ef01ca651c1 Mon Sep 17 00:00:00 2001 From: Nikolay Kondratyev <4085884+kondratyev-nv@users.noreply.github.com> Date: Tue, 26 Oct 2021 19:50:57 +0100 Subject: [PATCH] Add `wget` as a dependency for Bootstrap script (#16303) * Add wget as a dependency for installation script * Add wget as a dependency for alpine --- build.psm1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index ab5060ad6d..97b89b1a02 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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"