Skip to content

Commit

Permalink
add kubeconform
Browse files Browse the repository at this point in the history
  • Loading branch information
shinracorp2212 committed Dec 11, 2023
1 parent 06014e6 commit 1e60cf9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.21.0] - 2023-12-11

### Changed
- Added kubeconform

## [1.20.0] - 2023-10-24

### Changed
Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,20 @@ RUN apt-get update \
RUN pip3 install aws-sam-cli \
&& rm -rf /root/.cache/pip

# =====
# Kubeconform
#
# kubeconform versions may be found at:
# https://github.com/yannh/kubeconform/releases
FROM installer as kubeconform
ENV KUBECONFORM_URL="https://github.com/yannh/kubeconform/releases/download/v0.6.4/kubeconform-linux-amd64.tar.gz"
RUN curl -Ls "${KUBECONFORM_URL}" > kubeconform.tar.gz
RUN tar -xvzf kubeconform.tar.gz
RUN mv kubeconform /usr/local/bin/kubeconform
ENV KUBECONFORM_SHA_256=d095722bf8032abec604dbb2c68f7c77fee55a5b770d1f96d5e3988b3c5faae5
RUN echo "${KUBECONFORM_SHA_256} /usr/local/bin/kubeconform" | shasum -a 256 -c
RUN chmod +x /usr/local/bin/kubeconform

# ====
# General Tools
#
Expand Down Expand Up @@ -141,13 +155,15 @@ COPY --from=awscli /aws-cli-bin/ /usr/local/bin/
COPY --from=terraform /terraform /usr/local/bin/terraform
COPY --from=docker /usr/bin/docker /usr/local/bin/docker
COPY --from=kubeval /usr/local/bin/kubeval /usr/local/bin/kubeval
COPY --from=kubeconform /usr/local/bin/kubeconform /usr/local/bin/kubeconform
COPY --from=samcli /usr/local/bin/sam /usr/local/bin/sam
COPY --from=samcli /usr/local/lib/python3.9 /usr/local/lib/python3.9
COPY --from=tools /yq /usr/local/bin/yq

RUN kubectl help > /dev/null
RUN helm version
RUN kubeval --version
RUN kubeconform -v
RUN aws --version
RUN terraform version
RUN docker --version
Expand Down

0 comments on commit 1e60cf9

Please sign in to comment.