Skip to content

Commit e0beb27

Browse files
author
James Brundage
committed
feat: Irregular Dockerfile ( Fixes #206 )
1 parent 8bf56ed commit e0beb27

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/powershell
2+
ARG ModuleName=Irregular
3+
COPY . ./usr/local/share/powershell/Modules/$ModuleName
4+
RUN pwsh -c "New-Item -Path /root/.config/powershell/Microsoft.PowerShell_profile.ps1 -Value 'Import-Module $ModuleName' -Force"

0 commit comments

Comments
 (0)