mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
Set pwsh to be executable
This commit is contained in:
parent
6aafc9b874
commit
c839c0b828
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ RUN mkdir -p ${PWSH_DIRECTORY} \
|
||||||
| cut -d '"' -f 4 \
|
| cut -d '"' -f 4 \
|
||||||
| xargs -n 1 wget -q -O - \
|
| xargs -n 1 wget -q -O - \
|
||||||
| tar -xzC ${PWSH_DIRECTORY} \
|
| tar -xzC ${PWSH_DIRECTORY} \
|
||||||
|
&& chmod +x ${PWSH_DIRECTORY}/pwsh \
|
||||||
&& ln -sf ${PWSH_DIRECTORY}/pwsh /usr/bin/pwsh \
|
&& ln -sf ${PWSH_DIRECTORY}/pwsh /usr/bin/pwsh \
|
||||||
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
|
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue