Skip to content

Commit a6a063a

Browse files
author
James Brundage
committed
feat: Updating PipeScript Docker File Order ( Fixes #662 )
And updating start script
1 parent 0be0889 commit a6a063a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

PipeScript.ps.dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,26 @@
1919
# }
2020
#}
2121

22+
#{
23+
# param($DockerInstallPackages = @("git","curl","ca-certificates","libc6","libgcc1") )
24+
# if ($DockerInstallPackages) {"RUN apt-get update && apt-get install -y $($dockerInstallPackages -join ' ')"}
25+
#}
26+
2227
ENV PSModulePath ./Modules
2328

2429
#{
25-
# param($DockerInstallModules = @("Splatter", "PSSVG", "ugit") )
30+
# param($DockerInstallModules = @("Splatter", "PSSVG", "ugit", "Irregular") )
2631
# $PowerShellPath = "opt/microsoft/powershell/7/pwsh"
2732
# if ($DockerInstallModules) { "RUN $PowerShellPath --noprofile --nologo -c Install-Module '$($DockerInstallModules -join "','")' -Scope CurrentUser -Force"}
2833
#}
2934

30-
#{
31-
# param($DockerInstallPackages = @("git","curl","ca-certificates","libc6","libgcc1") )
32-
# if ($DockerInstallPackages) {"RUN apt-get update && apt-get install -y $($dockerInstallPackages -join ' ')"}
33-
#}
34-
35-
3635
#{
3736
# $LoadedModuleInPath = (Get-Module | Split-Path) -match ([Regex]::Escape($pwd)) | Select -first 1
3837
# if ($LoadedModuleInPath) { "COPY ./ ./Modules/$($LoadedModuleInPath | Split-Path -Leaf)" }
3938
#}
4039

4140
#{
42-
# param(<# A Script to Run When Docker Starts #>$DockerProfileScript = "./PipeScript.Server.Start.ps1")
41+
# param(<# A Script to Run When Docker Starts #>$DockerProfileScript = "./Http.Server.Start.ps1")
4342
# if ($DockerProfileScript) { "COPY ./$DockerProfileScript /root/.config/powershell/Microsoft.PowerShell_profile.ps1"}
4443
#}
4544

0 commit comments

Comments
 (0)