Skip to content

Commit 1baf62c

Browse files
Sync PowerShell version in arm.megalinter-descriptor.yml (#3586)
* Sync PowerShell version in arm.megalinter-descriptor.yml * [build-command] Update generated files --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 69135cd commit 1baf62c

File tree

5 files changed

+24
-23
lines changed

5 files changed

+24
-23
lines changed

Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ COPY --link --from=terragrunt /bin/terraform /usr/bin/
345345
#OTHER__START
346346
RUN rc-update add docker boot && rc-service docker start || true \
347347
# ARM installation
348-
&& curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
348+
&& curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
349349
&& mkdir -p /opt/microsoft/powershell/7 \
350350
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
351351
&& chmod +x /opt/microsoft/powershell/7/pwsh \
@@ -472,18 +472,19 @@ RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GI
472472
ENV PATH="/root/.composer/vendor/bin:${PATH}"
473473

474474
# POWERSHELL installation
475-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
476-
&& mkdir -p /opt/microsoft/powershell/7 \
477-
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
478-
&& chmod +x /opt/microsoft/powershell/7/pwsh \
479-
&& ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \
475+
# Next line commented because already managed by another linter
476+
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
477+
# && mkdir -p /opt/microsoft/powershell/7 \
478+
# && tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
479+
# && chmod +x /opt/microsoft/powershell/7/pwsh \
480+
# && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
480481

481482
# SALESFORCE installation
482483
# Next line commented because already managed by another linter
483484
# ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
484485
# Next line commented because already managed by another linter
485486
# ENV PATH="$JAVA_HOME/bin:${PATH}"
486-
&& sf plugins install @salesforce/plugin-packaging \
487+
RUN sf plugins install @salesforce/plugin-packaging \
487488
&& echo y|sf plugins install sfdx-hardis \
488489
&& npm cache clean --force || true \
489490
&& rm -rf /root/.npm/_cacache \

flavors/dotnet/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ COPY --link --from=lychee /usr/local/bin/lychee /usr/bin/
247247
#############################################################################################
248248
#OTHER__START
249249
# ARM installation
250-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
250+
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
251251
&& mkdir -p /opt/microsoft/powershell/7 \
252252
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
253253
&& chmod +x /opt/microsoft/powershell/7/pwsh \
@@ -262,12 +262,12 @@ ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
262262
ENV PATH="$JAVA_HOME/bin:${PATH}"
263263

264264
# POWERSHELL installation
265-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
266-
&& mkdir -p /opt/microsoft/powershell/7 \
267-
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
268-
&& chmod +x /opt/microsoft/powershell/7/pwsh \
269-
&& ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
270-
265+
# Next line commented because already managed by another linter
266+
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
267+
# && mkdir -p /opt/microsoft/powershell/7 \
268+
# && tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
269+
# && chmod +x /opt/microsoft/powershell/7/pwsh \
270+
# && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
271271

272272
# VBDOTNET installation
273273
# Next line commented because already managed by another linter

flavors/dotnetweb/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ COPY --link --from=lychee /usr/local/bin/lychee /usr/bin/
269269
#############################################################################################
270270
#OTHER__START
271271
# ARM installation
272-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
272+
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
273273
&& mkdir -p /opt/microsoft/powershell/7 \
274274
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
275275
&& chmod +x /opt/microsoft/powershell/7/pwsh \
@@ -284,12 +284,12 @@ ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
284284
ENV PATH="$JAVA_HOME/bin:${PATH}"
285285

286286
# POWERSHELL installation
287-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
288-
&& mkdir -p /opt/microsoft/powershell/7 \
289-
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
290-
&& chmod +x /opt/microsoft/powershell/7/pwsh \
291-
&& ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
292-
287+
# Next line commented because already managed by another linter
288+
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
289+
# && mkdir -p /opt/microsoft/powershell/7 \
290+
# && tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
291+
# && chmod +x /opt/microsoft/powershell/7/pwsh \
292+
# && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
293293

294294
# VBDOTNET installation
295295
# Next line commented because already managed by another linter

linters/arm_arm_ttk/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
134134
#############################################################################################
135135
#OTHER__START
136136
# ARM installation
137-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
137+
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
138138
&& mkdir -p /opt/microsoft/powershell/7 \
139139
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
140140
&& chmod +x /opt/microsoft/powershell/7/pwsh \

megalinter/descriptors/arm.megalinter-descriptor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install:
1212
- icu-libs
1313
dockerfile:
1414
- |
15-
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
15+
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
1616
&& mkdir -p /opt/microsoft/powershell/7 \
1717
&& tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7 \
1818
&& chmod +x /opt/microsoft/powershell/7/pwsh \

0 commit comments

Comments
 (0)