mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-07 12:39:10 +01:00
15 lines
488 B
Docker
15 lines
488 B
Docker
FROM r.j3ss.co/powershell:latest
|
|
|
|
# Install/Update PowerShellGet
|
|
RUN pwsh -c "Install-Module PowerShellGet -Force"
|
|
|
|
# Install Azure PowerShell module
|
|
# Install the Azure Resource Manager modules from the PowerShell Gallery
|
|
RUN pwsh -c "Install-Module -Name AzureRM -AllowClobber -Force"
|
|
|
|
# Install Azure Active Directory module
|
|
# Install the Azure Active Directory modules from the PowerShell Gallery
|
|
RUN pwsh -c "Install-Module -Name AzureAD -AllowClobber -Force"
|
|
|
|
ENTRYPOINT [ "pwsh" ]
|