-
-
Save gowatana/0304864c9f971c73e75d45f50db1f2bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/powershell:7.2.1-centos-7-20220223 | |
RUN pwsh -c Set-PSRepository -Name PSGallery -InstallationPolicy Trusted && \ | |
pwsh -c Install-Module -Name Nutanix.Cli -RequiredVersion 2.0.1 | |
RUN mkdir -p /root/.config/powershell; \ | |
echo 'function prompt {"pwsh-nutanix> "}' >> /root/.config/powershell/Microsoft.PowerShell_profile.ps1 | |
CMD pwsh -NoExit -c Import-Module Nutanix.Cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ。
Nutanix PowerShell Cmdlets v2.0 をコンテナにしてみる。