mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
dfababcec6
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
13 lines
399 B
Docker
13 lines
399 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"
|
|
|
|
# You will have to load the module into the session with:
|
|
# Import-Module -Name AzureRM
|
|
ENTRYPOINT [ "pwsh" ]
|