Skip to content

Commit

Permalink
Run ./build.sh after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Feb 18, 2023
1 parent 3ac4086 commit 4c149d7
Show file tree
Hide file tree
Showing 91 changed files with 119 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ RUN apk add --update --no-cache \
composer \
dpkg \
py3-pyflakes \
go \
nodejs \
npm \
yarn \
Expand Down Expand Up @@ -461,7 +460,8 @@ RUN curl --retry 5 --retry-delay 5 -sLO "${ARM_TTK_URI}" \

# golangci-lint installation
&& wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh \
&& golangci-lint --version \
&& golangci-lint --version


# revive installation
# Managed with COPY --link --from=revive /usr/bin/revive /usr/bin/revive
Expand Down
6 changes: 4 additions & 2 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil

# golangci-lint installation
&& wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh \
&& golangci-lint --version \
&& golangci-lint --version


# revive installation
# Managed with COPY --link --from=revive /usr/bin/revive /usr/bin/revive
Expand Down Expand Up @@ -379,7 +380,8 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
&& tar xf ${ML_THIRD_PARTY_DIR}/kubeconform-linux-amd64.tar.gz --directory ${ML_THIRD_PARTY_DIR} \
&& mv ${ML_THIRD_PARTY_DIR}/kubeconform /usr/local/bin \
&& rm ${ML_THIRD_PARTY_DIR}/kubeconform-linux-amd64.tar.gz \
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete \
&& find ${ML_THIRD_PARTY_DIR} -type f -not -name 'LICENSE*' -delete -o -type d -empty -delete


# checkmake installation
# Managed with COPY --link --from=checkmake /checkmake /usr/bin/checkmake
Expand Down
1 change: 0 additions & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ RUN apk add --update --no-cache \
openssh \
openjdk11 \
py3-pyflakes \
go \
nodejs \
npm \
yarn \
Expand Down
1 change: 0 additions & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ RUN apk add --update --no-cache \
zlib-dev \
openjdk11 \
py3-pyflakes \
go \
nodejs \
npm \
yarn \
Expand Down
1 change: 0 additions & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ RUN apk add --update --no-cache \
openssh \
openjdk11 \
py3-pyflakes \
go \
nodejs \
npm \
yarn \
Expand Down
1 change: 0 additions & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ RUN apk add --update --no-cache \
openssh \
openjdk11 \
py3-pyflakes \
go \
nodejs \
npm \
yarn \
Expand Down
15 changes: 12 additions & 3 deletions linters/action_actionlint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand All @@ -10,6 +11,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint and the FROM command may be safely repeated in a Dockerfile
FROM koalaman/shellcheck:stable as shellcheck

#FROM__END

Expand Down Expand Up @@ -47,7 +51,7 @@ RUN apk add --update --no-cache \
make \
musl-dev \
openssh \
go \
py3-pyflakes \
&& git config --global core.autocrlf true
#APK__END

Expand Down Expand Up @@ -115,6 +119,9 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################

#COPY__START
COPY --link --from=actionlint /usr/local/bin/actionlint /usr/bin/actionlint
# shellcheck is a dependency for actionlint
COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck

#COPY__END

Expand All @@ -123,8 +130,10 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest && go clean --cache
# Managed with COPY --link --from=actionlint /usr/local/bin/actionlint /usr/bin/actionlint
# shellcheck is a dependency for actionlint
COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck


#OTHER__END

Expand Down
1 change: 1 addition & 0 deletions linters/arm_arm_ttk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/bash_exec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
5 changes: 3 additions & 2 deletions linters/bash_shfmt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down Expand Up @@ -114,15 +115,15 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################

#COPY__START
COPY --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=shfmt /bin/shfmt /usr/bin/
#COPY__END

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#OTHER__START
# shfmt installation
# Managed with COPY --from=shfmt /bin/shfmt /usr/bin/
# Managed with COPY --link --from=shfmt /bin/shfmt /usr/bin/

#OTHER__END

Expand Down
1 change: 1 addition & 0 deletions linters/bicep_bicep_linter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/c_cpplint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/clojure_clj_kondo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/coffee_coffeelint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/copypaste_jscpd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/cpp_cpplint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/csharp_csharpier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/csharp_dotnet_format/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/css_scss_lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/css_stylelint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/dart_dartanalyzer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
5 changes: 3 additions & 2 deletions linters/editorconfig_editorconfig_checker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down Expand Up @@ -114,15 +115,15 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################

#COPY__START
COPY --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
#COPY__END

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#OTHER__START
# editorconfig-checker installation
# Managed with COPY --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
# Managed with COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker

#OTHER__END

Expand Down
1 change: 1 addition & 0 deletions linters/env_dotenv_linter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/gherkin_gherkin_lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
2 changes: 1 addition & 1 deletion linters/go_golangci_lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down Expand Up @@ -47,7 +48,6 @@ RUN apk add --update --no-cache \
make \
musl-dev \
openssh \
go \
&& git config --global core.autocrlf true
#APK__END

Expand Down
1 change: 1 addition & 0 deletions linters/graphql_graphql_schema_linter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/html_djlint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/html_htmlhint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/javascript_prettier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/javascript_standard/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/json_jsonlint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/json_npm_package_json_lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/json_prettier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/json_v8r/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/kubernetes_kubeconform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/kubernetes_kubeval/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
5 changes: 3 additions & 2 deletions linters/latex_chktex/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down Expand Up @@ -114,15 +115,15 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################

#COPY__START
COPY --from=chktex /usr/bin/chktex /usr/bin/
COPY --link --from=chktex /usr/bin/chktex /usr/bin/
#COPY__END

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#OTHER__START
# chktex installation
# Managed with COPY --from=chktex /usr/bin/chktex /usr/bin/
# Managed with COPY --link --from=chktex /usr/bin/chktex /usr/bin/
RUN cd ~ && touch .chktexrc && cd /

#OTHER__END
Expand Down
1 change: 1 addition & 0 deletions linters/lua_luacheck/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
10 changes: 4 additions & 6 deletions linters/makefile_checkmake/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand All @@ -10,7 +11,7 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#FROM__START

FROM mrtazz/checkmake:latest as checkmake
#FROM__END

##################
Expand Down Expand Up @@ -114,18 +115,15 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################

#COPY__START

COPY --link --from=checkmake /checkmake /usr/bin/checkmake
#COPY__END

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#OTHER__START
# checkmake installation
RUN ( [ -d /usr/local/bin ] || mkdir -p /usr/local/bin ) \
&& wget -q "https://github.com/mrtazz/checkmake/releases/download/0.2.1/checkmake-0.2.1.linux.amd64" -O /usr/local/bin/checkmake \
&& chmod 755 /usr/local/bin/checkmake

# Managed with COPY --link --from=checkmake /checkmake /usr/bin/checkmake

#OTHER__END

Expand Down
1 change: 1 addition & 0 deletions linters/markdown_markdown_link_check/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/markdown_markdown_table_formatter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/markdown_markdownlint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/markdown_remark_lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/openapi_spectral/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
1 change: 1 addition & 0 deletions linters/perl_perlcritic/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
###########################################
###########################################
## Dockerfile to run MegaLinter ##
Expand Down
Loading

0 comments on commit 4c149d7

Please sign in to comment.