-
Notifications
You must be signed in to change notification settings - Fork 0
/
containerPostCreate.ps1
28 lines (16 loc) · 1.07 KB
/
containerPostCreate.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$PSDefaultParameterValues['Install-ModuleFast:Scope'] = 'CurrentUser'
$PSDefaultParameterValues['Install-ModuleFast:NoPSModulePathUpdate'] = $true
$PSDefaultParameterValues['Install-ModuleFast:NoProfileUpdate'] = $true
$PSDefaultParameterValues['Install-ModuleFast:Timeout'] = 180
Write-Information -MessageData "Installing ModuleFast" -InformationAction Continue
& ([scriptblock]::Create((Invoke-WebRequest -Uri 'bit.ly/modulefast')))
Write-Information -MessageData "Installing runtime dependencies" -InformationAction Continue
Install-ModuleFast -Path './requirements.psd1'
Write-Information -MessageData "Installing dev dependencies" -InformationAction Continue
Install-ModuleFast -Path './devRequirements.psd1'
Write-Information -MessageData "Installing Azure Functions extensions" -InformationAction Continue
func extensions install
Write-Information -MessageData "Listing installed dotnet SDK versions" -InformationAction Continue
dotnet --list-sdks
Write-Information -MessageData "Listing installed dotnet runtime versions" -InformationAction Continue
dotnet --list-runtimes