diff --git a/Dockerfile b/Dockerfile index cebdf2a8..47c46881 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN mkdir -p /opt/microsoft/powershell/7 \ | xargs -n 1 wget -O - \ | tar -xzC /opt/microsoft/powershell/7 \ && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \ - && pwsh -c 'Install-Module -Name PSScriptAnalyzer -Repository PSGallery -RequiredVersion ${PSSA_VERSION} -Force' + && pwsh -c 'Install-Module -Name PSScriptAnalyzer -Repository PSGallery -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force' ##################### # Run Pip3 Installs #