diff --git a/Dockerfile b/Dockerfile index 77f9f88..00510fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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