We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf5bd2 commit 98d048eCopy full SHA for 98d048e
1 file changed
Posh.ps.Dockerfile
@@ -16,9 +16,9 @@ RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module $ModuleName' -For
16
# $importedModule = Import-Module ./ -PassThru
17
# $importedModuleNames =
18
# @($importedModule.Recommends.Url) -notmatch '/' -join "','"
19
+# "RUN pwsh -c `"Install-Module -Name '$importedModuleNames' -Force -AllowClobber -Scope CurrentUser -PassThru`""
20
# foreach ($recommendedModule in $importedModule.Recommends) {
21
# continue if $recommendedModule.Url -match '/'
-# "RUN pwsh -c `"Install-Module -Name '$($recommendedModule.Url)' -Force -AllowClobber -Scope CurrentUser -PassThru`""
22
# "RUN pwsh -c `"Add-Content -Path \`$Profile -Value 'Import-Module $($recommendedModule.Url)' -Force`""
23
# }
24
#}
0 commit comments