DockerFile: Add missing AllUsers Scope when install PSSA

Fix #279
This commit is contained in:
Alexis La Goutte 2020-06-30 20:31:07 +00:00
parent a2e930c77c
commit e3d7a88fec

View file

@ -47,7 +47,7 @@ RUN mkdir -p /opt/microsoft/powershell/7 \
| xargs -n 1 wget -O - \ | xargs -n 1 wget -O - \
| tar -xzC /opt/microsoft/powershell/7 \ | tar -xzC /opt/microsoft/powershell/7 \
&& ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \ && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \
&& pwsh -c 'install-module psscriptanalyzer -force' && pwsh -c 'install-module psscriptanalyzer -Scope AllUsers -force'
##################### #####################
# Run Pip3 Installs # # Run Pip3 Installs #