1
0
vmcli-powershell-container/Containerfile
Leonardo Amaral d93a87489d
Some checks failed
Build VMCli with PowerShell / Build-VMCli (push) Failing after 1m48s
Initial Release
Signed-off-by: Leonardo Amaral <contato@leonardoamaral.com.br>
2024-07-26 17:11:57 -03:00

5 lines
313 B
Docker

FROM mcr.microsoft.com/powershell:latest
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