Skip to content

Commit

Permalink
[build-command] Update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and megalinter-bot committed Jan 10, 2025
1 parent 487e189 commit d190746
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 33 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,12 @@ ENV PATH="/root/.composer/vendor/bin:${PATH}"
# Next line commented because already managed by another linter
# # renovate: datasource=github-tags depName=PowerShell/PowerShell
# POWERSHELL_VERSION=7.4.2
# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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

# Next line commented because already managed by another linter
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
# && mkdir -p /opt/microsoft/powershell/7 \
# && tar zxf /tmp/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
#
# SALESFORCE installation
# Next line commented because already managed by another linter
Expand Down
13 changes: 6 additions & 7 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,12 @@ ENV PATH="$JAVA_HOME/bin:${PATH}"
# Next line commented because already managed by another linter
# # renovate: datasource=github-tags depName=PowerShell/PowerShell
# POWERSHELL_VERSION=7.4.2
# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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

# Next line commented because already managed by another linter
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
# && mkdir -p /opt/microsoft/powershell/7 \
# && tar zxf /tmp/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
#
# VBDOTNET installation
# Next line commented because already managed by another linter
Expand Down
13 changes: 6 additions & 7 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,12 @@ ENV PATH="$JAVA_HOME/bin:${PATH}"
# Next line commented because already managed by another linter
# # renovate: datasource=github-tags depName=PowerShell/PowerShell
# POWERSHELL_VERSION=7.4.2
# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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

# Next line commented because already managed by another linter
# RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
# && mkdir -p /opt/microsoft/powershell/7 \
# && tar zxf /tmp/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
#
# VBDOTNET installation
# Next line commented because already managed by another linter
Expand Down
6 changes: 2 additions & 4 deletions flavors/formatters/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,11 @@ ENV PATH="${PATH}:/root/.dotnet/tools"
# renovate: datasource=github-tags depName=PowerShell/PowerShell
POWERSHELL_VERSION=7.4.2

# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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 \
#
# VBDOTNET installation
# Next line commented because already managed by another linter
Expand All @@ -206,7 +204,7 @@ RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERS
# Managed with COPY --link --from=shfmt /bin/shfmt /usr/bin/
#
# csharpier installation
RUN dotnet tool install --global csharpier \
&& dotnet tool install --global csharpier \
#
# roslynator installation
&& dotnet tool install -g roslynator.dotnet.cli \
Expand Down
6 changes: 2 additions & 4 deletions linters/powershell_powershell/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,14 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
# renovate: datasource=github-tags depName=PowerShell/PowerShell
POWERSHELL_VERSION=7.4.2

# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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 \
#
# powershell installation
RUN pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
#
#OTHER__END

Expand Down
6 changes: 2 additions & 4 deletions linters/powershell_powershell_formatter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,14 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
# renovate: datasource=github-tags depName=PowerShell/PowerShell
POWERSHELL_VERSION=7.4.2

# renovate: datasource=github-tags depName=mgechev/revive
RUN curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-musl-x64.tar.gz -o /tmp/powershell.tar.gz \
&& mkdir -p /opt/microsoft/powershell/7 \
&& tar zxf /tmp/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 \
#
# powershell_formatter installation
RUN pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'
#
#OTHER__END

Expand Down

0 comments on commit d190746

Please sign in to comment.