Skip to content

Commit

Permalink
Use Docker image to install kubeconform (#2637)
Browse files Browse the repository at this point in the history
* Use Docker image to install kubeconform

* [MegaLinter] Apply linters fixes

* Change copy folder

---------

Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored May 14, 2023
1 parent 46b3721 commit dae0abd
Show file tree
Hide file tree
Showing 21 changed files with 125 additions and 60 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ FROM golang:1-alpine as revive
## 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 mrtazz/checkmake:latest as checkmake
FROM ghcr.io/phpstan/phpstan:latest-php8.1 as phpstan
Expand Down Expand Up @@ -315,6 +316,7 @@ COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=revive /usr/bin/revive /usr/bin/revive
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=chktex /usr/bin/chktex /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=phpstan /composer/vendor/phpstan/phpstan/phpstan.phar /usr/bin/phpstan
Expand Down Expand Up @@ -591,7 +593,7 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
4 changes: 3 additions & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ FROM golang:1-alpine as revive
## 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 mrtazz/checkmake:latest as checkmake
FROM ghcr.io/phpstan/phpstan:latest-php8.1 as phpstan
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -274,6 +275,7 @@ COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=revive /usr/bin/revive /usr/bin/revive
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=phpstan /composer/vendor/phpstan/phpstan/phpstan.phar /usr/bin/phpstan
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -423,7 +425,7 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash
Expand Down
5 changes: 3 additions & 2 deletions flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM mrtazz/checkmake:latest as checkmake
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -66,7 +67,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -214,6 +214,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -255,7 +256,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM mrtazz/checkmake:latest as checkmake
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -82,7 +83,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -234,6 +234,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -335,7 +336,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "${ARM_TTK_URI}" \
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
4 changes: 3 additions & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ FROM golang:1-alpine as revive
## 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 mrtazz/checkmake:latest as checkmake
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -221,6 +222,7 @@ COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=revive /usr/bin/revive /usr/bin/revive
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -269,7 +271,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM mrtazz/checkmake:latest as checkmake
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -66,7 +67,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -214,6 +214,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -331,7 +332,7 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
FROM jdkato/vale:latest as vale
Expand Down Expand Up @@ -65,7 +66,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -234,6 +234,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
COPY --link --from=vale /bin/vale /bin/vale
Expand Down Expand Up @@ -274,7 +275,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM ghcr.io/phpstan/phpstan:latest-php8.1 as phpstan
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -78,7 +79,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -226,6 +226,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=phpstan /composer/vendor/phpstan/phpstan/phpstan.phar /usr/bin/phpstan
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -285,7 +286,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash
Expand Down
5 changes: 3 additions & 2 deletions flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM mrtazz/checkmake:latest as checkmake
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
Expand Down Expand Up @@ -66,7 +67,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -225,6 +225,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=checkmake /checkmake /usr/bin/checkmake
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
Expand Down Expand Up @@ -266,7 +267,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
FROM jdkato/vale:latest as vale
Expand Down Expand Up @@ -65,7 +66,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -219,6 +219,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
COPY --link --from=vale /bin/vale /bin/vale
Expand Down Expand Up @@ -259,7 +260,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
FROM jdkato/vale:latest as vale
Expand Down Expand Up @@ -65,7 +66,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -213,6 +213,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
COPY --link --from=vale /bin/vale /bin/vale
Expand Down Expand Up @@ -253,7 +254,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
5 changes: 3 additions & 2 deletions flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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:2.7.0 as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.16.3 as gitleaks
FROM jdkato/vale:latest as vale
Expand Down Expand Up @@ -65,7 +66,6 @@ RUN apk add --update --no-cache \
nodejs \
npm \
yarn \
go \
helm \
gcompat \
libc-dev \
Expand Down Expand Up @@ -216,6 +216,7 @@ COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
COPY --link --from=shfmt /bin/shfmt /usr/bin/
COPY --link --from=hadolint /bin/hadolint /usr/bin/hadolint
COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
COPY --link --from=kubeconform /kubeconform /usr/bin/
COPY --link --from=protolint /usr/local/bin/protolint /usr/bin/
COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
COPY --link --from=vale /bin/vale /bin/vale
Expand Down Expand Up @@ -263,7 +264,7 @@ RUN echo y|sfdx plugins:install sfdx-hardis \
mv "ktlint" /usr/bin/ \

# kubeconform installation
&& go install github.com/yannh/kubeconform/cmd/kubeconform@latest \
# Managed with COPY --link --from=kubeconform /kubeconform /usr/bin/

# kubescape installation
&& curl --retry 5 --retry-delay 5 -sLv https://raw.githubusercontent.com/kubescape/kubescape/master/install.sh | /bin/bash \
Expand Down
Loading

0 comments on commit dae0abd

Please sign in to comment.