mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
Explicitly set -Scope AllUsers for PSSA Module
This commit is contained in:
parent
509f767b71
commit
5ef64d0eff
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,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 -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 #
|
# Run Pip3 Installs #
|
||||||
|
|
Loading…
Reference in a new issue