mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-15 18:46:31 +00:00
INF-2341 Add step to install PSScriptAnalyzer module
This commit is contained in:
parent
2019d0c825
commit
36e17aace5
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ RUN wget -O powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/
|
|||
# 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
|
||||
RUN Set-PSRepository PSGallery -InstallationPolicy Trusted -Verbose; Install-Module PSScriptAnalyzer -Repository PSGallery -Scope AllUsers -Verbose
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue