Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure renovate updates for more docker images #3700

Merged
merged 14 commits into from
Jun 29, 2024
Prev Previous commit
Next Next commit
Build
  • Loading branch information
echoix committed Jun 27, 2024
commit 9ff1179ac59d0beae50598767788eeef588b51d0
18 changes: 7 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
# renovate: datasource=docker depName=ghcr.io/terraform-linters/tflint
ARG TERRAFORM_TFLINT_VERSION=0.51.1
# renovate: datasource=docker depName=alpine/terragrunt
Expand All @@ -31,26 +31,23 @@ ARG TERRAFORM_TERRAGRUNT_VERSION=1.8.5
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
## The install command should then be what is commented in the go.megalinter-descriptor.yml
RUN GOBIN=/usr/bin go install github.com/mgechev/revive@latest

FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM ghcr.io/assignuser/chktex-alpine:latest as chktex
FROM yoheimuta/protolint:latest as protolint
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM golang:alpine as dustilock
RUN GOBIN=/usr/bin go install github.com/checkmarx/dustilock@v1.2.0

FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM checkmarx/kics:alpine as kics
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
Expand Down Expand Up @@ -325,7 +322,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
COPY --from=composer/composer:2-bin /composer /usr/bin/composer
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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
16 changes: 7 additions & 9 deletions flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,16 +26,15 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -217,7 +216,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
5 changes: 2 additions & 3 deletions flavors/ci_light/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -24,7 +23,7 @@ ARG GITLEAKS_VERSION=v8.18.4
FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
#FROM__END

Expand Down
13 changes: 4 additions & 9 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
# renovate: datasource=docker depName=ghcr.io/terraform-linters/tflint
ARG TERRAFORM_TFLINT_VERSION=0.51.1
# renovate: datasource=docker depName=alpine/terragrunt
Expand All @@ -32,21 +30,19 @@ ARG TERRAFORM_TERRAGRUNT_VERSION=1.8.5
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
## The install command should then be what is commented in the go.megalinter-descriptor.yml
RUN GOBIN=/usr/bin go install github.com/mgechev/revive@latest

FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM checkmarx/kics:alpine as kics
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -289,7 +285,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
COPY --from=composer/composer:2-bin /composer /usr/bin/composer
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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
16 changes: 7 additions & 9 deletions flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,16 +26,15 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -215,7 +214,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
16 changes: 7 additions & 9 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,16 +26,15 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -229,7 +228,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
16 changes: 7 additions & 9 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,16 +26,15 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -251,7 +250,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
17 changes: 7 additions & 10 deletions flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,22 +26,20 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
## The install command should then be what is commented in the go.megalinter-descriptor.yml
RUN GOBIN=/usr/bin go install github.com/mgechev/revive@latest

FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -222,7 +220,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
16 changes: 7 additions & 9 deletions flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#############################################################################################
#ARGTOP__START
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
# renovate: datasource=docker depName=yoheimuta/protolint
ARG PROTOBUF_PROTOLINT_VERSION=0.49.8
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4

ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
#ARGTOP__END

#############################################################################################
Expand All @@ -26,16 +26,15 @@ ARG GITLEAKS_VERSION=v8.18.4
#FROM__START
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint

FROM koalaman/shellcheck:stable as shellcheck
# Next FROM line commented because already managed by another linter
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
FROM yoheimuta/protolint:${PROTOBUF_PROTOLINT_VERSION} as protolint
FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
FROM trufflesecurity/trufflehog:latest as trufflehog
FROM jdkato/vale:latest as vale
FROM lycheeverse/lychee:latest-alpine as lychee
Expand Down Expand Up @@ -218,7 +217,6 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#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
# Next COPY line commented because already managed by another linter
# COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Expand Down
Loading