Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 50e4c18

Browse files
author
Minku Lee
committed
Add kubeval installation
1 parent c1ac932 commit 50e4c18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
FROM gcr.io/cloud-builders/kubectl
22

3+
# Install Kubeval
4+
ADD https://github.com/garethr/kubeval/releases/download/0.6.0/kubeval-linux-amd64.tar.gz /tmp/kubeval.tar.gz
5+
RUN tar xf /tmp/kubeval.tar.gz -C /usr/local/bin && rm /tmp/kubeval.tar.gz;
6+
7+
# Install Ruby 2.4
38
RUN add-apt-repository ppa:brightbox/ruby-ng -y
49
RUN apt-get update && apt-get install ruby2.4 ruby2.4-dev -y && apt-get clean
510

11+
# Install Bundler
612
RUN gem update --system && gem install bundler
713

814
ENTRYPOINT ["/bin/bash"]

0 commit comments

Comments
 (0)