mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 15:41:02 -05:00
commit
cbff376e46
1 changed files with 26 additions and 24 deletions
50
Dockerfile
50
Dockerfile
|
@ -38,28 +38,30 @@ RUN pip3 --no-cache-dir install --upgrade --no-cache-dir \
|
||||||
####################
|
####################
|
||||||
# Run NPM Installs #
|
# Run NPM Installs #
|
||||||
####################
|
####################
|
||||||
RUN npm -g --no-cache install \
|
RUN npm config set package-lock false \
|
||||||
markdownlint-cli \
|
&& npm config set loglevel error \
|
||||||
jsonlint prettyjson \
|
&& npm -g --no-cache install \
|
||||||
coffeelint \
|
markdownlint-cli \
|
||||||
typescript eslint \
|
jsonlint prettyjson \
|
||||||
standard \
|
coffeelint \
|
||||||
babel-eslint \
|
typescript eslint \
|
||||||
@typescript-eslint/eslint-plugin \
|
standard \
|
||||||
@typescript-eslint/parser \
|
babel-eslint \
|
||||||
eslint-plugin-jest \
|
@typescript-eslint/eslint-plugin \
|
||||||
&& npm --no-cache install \
|
@typescript-eslint/parser \
|
||||||
markdownlint-cli \
|
eslint-plugin-jest \
|
||||||
jsonlint prettyjson \
|
&& npm --no-cache install \
|
||||||
coffeelint \
|
markdownlint-cli \
|
||||||
typescript eslint \
|
jsonlint prettyjson \
|
||||||
standard \
|
coffeelint \
|
||||||
babel-eslint \
|
typescript eslint \
|
||||||
prettier \
|
standard \
|
||||||
eslint-config-prettier \
|
babel-eslint \
|
||||||
@typescript-eslint/eslint-plugin \
|
prettier \
|
||||||
@typescript-eslint/parser \
|
eslint-config-prettier \
|
||||||
eslint-plugin-jest
|
@typescript-eslint/eslint-plugin \
|
||||||
|
@typescript-eslint/parser \
|
||||||
|
eslint-plugin-jest
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
# Install dockerfilelint from repo #
|
# Install dockerfilelint from repo #
|
||||||
|
@ -88,12 +90,12 @@ RUN wget -qO- "https://github.com/koalaman/shellcheck/releases/download/stable/s
|
||||||
# Install Go Linter #
|
# Install Go Linter #
|
||||||
#####################
|
#####################
|
||||||
ARG GO_VERSION='v1.23.7'
|
ARG GO_VERSION='v1.23.7'
|
||||||
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GO_VERSION"
|
RUN wget -O- -nvq https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GO_VERSION"
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Install TFLint #
|
# Install TFLint #
|
||||||
##################
|
##################
|
||||||
RUN curl -L "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" -o tflint.zip && unzip tflint.zip && rm tflint.zip \
|
RUN curl -Ls "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/releases/latest | grep -o -E "https://.+?_linux_amd64.zip")" -o tflint.zip && unzip tflint.zip && rm tflint.zip \
|
||||||
&& mv "tflint" /usr/bin/
|
&& mv "tflint" /usr/bin/
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
Loading…
Reference in a new issue