Merge pull request #330 from alagoutte/fix-import-pssa

DockerFile: Add missing AllUsers Scope when install PSSA
This commit is contained in:
Lukas Gravley 2020-06-30 15:47:50 -05:00 committed by GitHub
commit 77c5521127
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 #