Skip to content

Commit

Permalink
Merge pull request #5 from alagoutte/patch-1
Browse files Browse the repository at this point in the history
Update to last PSSA release (1.18.3)
  • Loading branch information
devblackops authored May 15, 2020
2 parents d640129 + 6d283d3 commit adc8d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/powershell:6.2.0-ubuntu-18.04 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module PSScriptAnalyzer -RequiredVersion 1.18.1 -Scope AllUsers -Repository PSGallery
Install-Module PSScriptAnalyzer -RequiredVersion 1.18.3 -Scope AllUsers -Repository PSGallery

FROM base as analyzer
LABEL "com.github.actions.name" = "PSScriptAnalyzer"
Expand All @@ -21,4 +21,4 @@ COPY LICENSE README.md /

RUN chmod +x /entrypoint.ps1

ENTRYPOINT ["pwsh", "/entrypoint.ps1"]
ENTRYPOINT ["pwsh", "/entrypoint.ps1"]

0 comments on commit adc8d47

Please sign in to comment.