@@ -1930,11 +1930,7 @@ function Start-PSBootstrap {
19301930 $Deps = @ ()
19311931 if ($environment.IsLinux -and $environment.IsUbuntu ) {
19321932 # Build tools
1933- $Deps += " curl" , " g++" , " cmake" , " make"
1934-
1935- if ($BuildLinuxArm ) {
1936- $Deps += " gcc-arm-linux-gnueabihf" , " g++-arm-linux-gnueabihf"
1937- }
1933+ $Deps += " curl" , " wget"
19381934
19391935 # .NET Core required runtime libraries
19401936 $Deps += " libunwind8"
@@ -1960,7 +1956,7 @@ function Start-PSBootstrap {
19601956 }
19611957 } elseif ($environment.IsLinux -and $environment.IsRedHatFamily ) {
19621958 # Build tools
1963- $Deps += " which" , " curl" , " gcc-c++ " , " cmake " , " make "
1959+ $Deps += " which" , " curl" , " wget "
19641960
19651961 # .NET Core required runtime libraries
19661962 $Deps += " libicu" , " libunwind"
@@ -1984,7 +1980,7 @@ function Start-PSBootstrap {
19841980 }
19851981 } elseif ($environment.IsLinux -and $environment.IsSUSEFamily ) {
19861982 # Build tools
1987- $Deps += " gcc " , " cmake " , " make "
1983+ $Deps += " wget "
19881984
19891985 # Packaging tools
19901986 if ($Package ) { $Deps += " ruby-devel" , " rpmbuild" , " groff" , ' libffi-devel' }
@@ -2009,8 +2005,8 @@ function Start-PSBootstrap {
20092005 $PackageManager = " $sudo port"
20102006 }
20112007
2012- # Build tools
2013- $Deps += " cmake "
2008+ # wget for downloading dotnet
2009+ $Deps += " wget "
20142010
20152011 # .NET Core required runtime libraries
20162012 $Deps += " openssl"
@@ -2019,7 +2015,7 @@ function Start-PSBootstrap {
20192015 # ignore exitcode, because they may be already installed
20202016 Start-NativeExecution ([ScriptBlock ]::Create(" $PackageManager install $Deps " )) - IgnoreExitcode
20212017 } elseif ($environment.IsLinux -and $environment.IsAlpine ) {
2022- $Deps += ' libunwind' , ' libcurl' , ' bash' , ' cmake ' , ' clang ' , ' build-base' , ' git' , ' curl'
2018+ $Deps += ' libunwind' , ' libcurl' , ' bash' , ' build-base' , ' git' , ' curl' , ' wget '
20232019
20242020 Start-NativeExecution {
20252021 Invoke-Expression " apk add $Deps "
0 commit comments