mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-15 18:46:31 +00:00
INF-2341 Add step to install PowerShell
This commit is contained in:
parent
490b00b2be
commit
a31bc25614
1 changed files with 2 additions and 2 deletions
|
|
@ -30,12 +30,12 @@ RUN apk add --no-cache \
|
|||
icu-libs \
|
||||
curl; \
|
||||
RUN apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \
|
||||
lttng-ust
|
||||
lttng-ust;
|
||||
RUN wget -O powershell.tar.gz -fSL https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/powershell-7.2.3-linux-alpine-x64.tar.gz; \
|
||||
mkdir -p /opt/microsoft/powershell/7; \
|
||||
tar zxf ./powershell.tar.gz -C /opt/microsoft/powershell/7; \
|
||||
chmod +x /opt/microsoft/powershell/7/pwsh; \
|
||||
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
|
||||
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh;
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue