mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -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 \
|
||||
| xargs -n 1 wget -q -O - \
|
||||
| tar -xzC ${PWSH_DIRECTORY} \
|
||||
&& chmod +x ${PWSH_DIRECTORY}/pwsh \
|
||||
&& ln -sf ${PWSH_DIRECTORY}/pwsh /usr/bin/pwsh \
|
||||
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
|
||||
|
||||
|
|
Loading…
Reference in a new issue