INF-2341 Remove unused code

This commit is contained in:
Brett Anspach 2022-05-16 16:28:56 -05:00
parent 36e17aace5
commit b3b9d0d920

View file

@ -40,7 +40,6 @@ RUN wget -O powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
# Install PSScriptAnalyzer
#RUN /usr/bin/pwsh -Command { Set-PSRepository PSGallery -InstallationPolicy Trusted -Verbose\; Install-Module PSScriptAnalyzer -Repository PSGallery -Scope AllUsers -Verbose }
SHELL ["pwsh", "-Command"]
RUN Set-PSRepository PSGallery -InstallationPolicy Trusted -Verbose; Install-Module PSScriptAnalyzer -Repository PSGallery -Scope AllUsers -Verbose