Skip to content

ARM

Linters

Linter Additional
arm-ttk
ARM_ARM_TTK
GitHub stars

Linted files

  • File extensions:
    • .json
  • Detected file content:
    • schema\.management\.azure\.com

Configuration in MegaLinter

Variable Description Default value
ARM_PRE_COMMANDS List of bash commands to run before the linters None
ARM_POST_COMMANDS List of bash commands to run after the linters None
ARM_FILTER_REGEX_INCLUDE Custom regex including filter
ARM_FILTER_REGEX_EXCLUDE Custom regex excluding filter

Behind the scenes

Installation

  • Dockerfile commands :
ARG TARGETPLATFORM
# renovate: datasource=github-tags depName=PowerShell/PowerShell
ARG POWERSHELL_VERSION=7.5.4
RUN case ${TARGETPLATFORM} in \
  "linux/amd64")  POWERSHELL_ARCH=musl-x64 ;; \
  "linux/arm64")  POWERSHELL_ARCH=arm64    ;; \
esac \
    && curl -L https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-${POWERSHELL_ARCH}.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