Skip to content

Commit

Permalink
feat: Posh.ps.Dockerfile ( Fixes #386 )
Browse files Browse the repository at this point in the history
    Making all installs a single layer
  • Loading branch information
StartAutomating authored and StartAutomating committed Apr 20, 2024
1 parent 98d048e commit ddbd692
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module $ModuleName' -For
# and add them to the profile so they are available when the container starts.


RUN pwsh -c "Install-Module -Name 'EZOut' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Install-Module -Name 'EZOut','PipeScript','HelpOut','PSSVG','Splatter','ShowDemo' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module EZOut' -Force"
RUN pwsh -c "Install-Module -Name 'PipeScript' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module PipeScript' -Force"
RUN pwsh -c "Install-Module -Name 'HelpOut' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module HelpOut' -Force"
RUN pwsh -c "Install-Module -Name 'PSSVG' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module PSSVG' -Force"
RUN pwsh -c "Install-Module -Name 'Splatter' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module Splatter' -Force"
RUN pwsh -c "Install-Module -Name 'ShowDemo' -Force -AllowClobber -Scope CurrentUser -PassThru"
RUN pwsh -c "Add-Content -Path \$Profile -Value 'Import-Module ShowDemo' -Force"

0 comments on commit ddbd692

Please sign in to comment.