Update apt-get repo in Start-PSBootstrap
yum does not need this as yum install does it automatically. This is needed when running, for example, in a container.
This commit is contained in:
parent
3a66c04f23
commit
fc2c1b9f7d
|
@ -728,7 +728,10 @@ function Start-PSBootstrap {
|
|||
if ($Package) { $Deps += "ruby-dev", "groff" }
|
||||
|
||||
# Install dependencies
|
||||
Start-NativeExecution { Invoke-Expression "$sudo apt-get install -y -qq $Deps" }
|
||||
Start-NativeExecution {
|
||||
Invoke-Expression "$sudo apt-get update"
|
||||
Invoke-Expression "$sudo apt-get install -y -qq $Deps"
|
||||
}
|
||||
} elseif ($IsCentOS) {
|
||||
# Build tools
|
||||
$Deps += "which", "curl", "gcc-c++", "cmake", "make"
|
||||
|
|
Loading…
Reference in a new issue