From 53f8d8ff68c75643ee8db8f50cc895b18d592f8a Mon Sep 17 00:00:00 2001 From: James Brundage <@github.com> Date: Tue, 7 May 2024 15:57:50 -0700 Subject: [PATCH] fix: Updating PipeScript.ps.dockerfile ( re #662 ) Fixing Imports --- PipeScript.ps.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PipeScript.ps.dockerfile b/PipeScript.ps.dockerfile index fd4de34cc..34ddb5afa 100644 --- a/PipeScript.ps.dockerfile +++ b/PipeScript.ps.dockerfile @@ -36,7 +36,7 @@ SHELL ["pwsh", "-noprofile", "-nologo", "-command"] # $PowerShellPath = "/bin/pwsh" # $InstallModules = "Install-Module '$($DockerInstallModules -join "','")' -AcceptLicense -Scope CurrentUser -Force" # $NewProfile = "New-Item -ItemType File -Path `$Profile -Force" - # $AddInstalled = "Add-Content -Value 'Import-Module $(@($DockerInstallModules + $($LoadedModuleInPath | Split-Path -Leaf)) -join "','")'" + # $AddInstalled = "Add-Content -Value `"Import-Module '$(@($DockerInstallModules + $($LoadedModuleInPath | Split-Path -Leaf)) -join "','")'`"" # if ($DockerInstallModules) { "RUN @($InstallModules && $NewProfile | $AddInstalled)" -replace '\$', '\$' } #}