Skip to content

Commit 132e614

Browse files
authored
Added kubeval to confbatstest (#28)
1 parent dba0414 commit 132e614

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

confbatstest/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.2
22

3-
LABEL version="1.3.0"
3+
LABEL version="1.4.0"
44
LABEL repository="http://github.com/redhat-cop/github-actions"
55
LABEL homepage="http://github.com/redhat-cop/github-actions/confbatstest"
66
LABEL maintainer="Red Hat CoP"
@@ -54,6 +54,12 @@ RUN export GO_VERSION=1.14 && \
5454
ln -s /tmp/go/bin/go /usr/local/bin/go && \
5555
go version
5656

57+
RUN export KUBEVAL_VERSION=latest && \
58+
wget --no-verbose https://github.com/instrumenta/kubeval/releases/${KUBEVAL_VERSION}/download/kubeval-linux-amd64.tar.gz && \
59+
tar -C /tmp -xzf kubeval-linux-amd64.tar.gz && \
60+
ln -s /tmp/kubeval /usr/local/bin/kubeval && \
61+
kubeval --version
62+
5763
RUN GO111MODULE=on go get github.com/plexsystems/konstraint && \
5864
ln -s ~/go/bin/konstraint /usr/local/bin/konstraint && \
5965
konstraint --help

0 commit comments

Comments
 (0)