1
0
vmcli-powershell-container/Containerfile
Leonardo Amaral 852d264f26
Some checks failed
Build VMCli with PowerShell / Build-VMCli (push) Failing after 6m25s
arm64 does not exist to MS :(
Signed-off-by: Leonardo Amaral <contato@leonardoamaral.com.br>
2024-07-26 17:39:29 -03:00

5 lines
310 B
Docker

FROM mcr.microsoft.com/powershell:ubi
RUN /opt/microsoft/powershell/7/pwsh -Command Set-PSRepository -Name 'PSGallery' -Verbose -InstallationPolicy Trusted \
&& /opt/microsoft/powershell/7/pwsh -Command Install-Module VMware.PowerCLI -Verbose -Scope AllUsers -AllowClobber -AcceptLicense -Confirm:\$false