@@ -4,19 +4,22 @@ FROM python:3.8.4-alpine3.12
4
4
ARG APP_VERSION=2.1
5
5
6
6
# https://github.com/kubernetes/kubectl/releases
7
- ARG KUBECTL_VERSION=1.18.5
7
+ ARG KUBECTL_VERSION=1.18.6
8
8
9
9
# https://github.com/instrumenta/kubeval/releases
10
10
ARG KUBEVAL_VERSION=0.15.0
11
11
12
12
# https://pypi.org/project/yamllint/
13
- ARG YAMLLINT_VERSION=1.23.0
13
+ ARG YAMLLINT_VERSION=1.24.2
14
14
15
15
# https://github.com/kubernetes-sigs/kustomize/releases
16
- ARG KUSTOMIZE_VERSION=3.8.0
16
+ ARG KUSTOMIZE_VERSION=3.8.1
17
17
18
18
# https://github.com/open-policy-agent/conftest/releases
19
- ARG CONFTEST_VERSION=0.19.0
19
+ ARG CONFTEST_VERSION=0.20.0
20
+
21
+ # https://github.com/stelligent/config-lint/releases
22
+ ARG CONFIG_LINT_VERSION=1.6.0
20
23
21
24
# split layers into distinct components
22
25
RUN apk add --no-cache ca-certificates curl
@@ -52,6 +55,15 @@ RUN mkdir /tmp/conftest \
52
55
&& chmod +x /usr/local/bin/conftest \
53
56
&& rm -rf /tmp/conftest
54
57
58
+ # Install Config Lint (https://stelligent.github.io/config-lint/#/install)
59
+ RUN mkdir /tmp/config-lint \
60
+ && curl -L -o /tmp/config-lint/config-lint.tar.gz \
61
+ https://github.com/stelligent/config-lint/releases/download/v${CONFIG_LINT_VERSION}/config-lint_Linux_x86_64.tar.gz \
62
+ && tar xf /tmp/config-lint/config-lint.tar.gz -C /tmp/config-lint \
63
+ && mv /tmp/config-lint/config-lint /usr/local/bin \
64
+ && chmod +x /usr/local/bin/config-lint \
65
+ && rm -rf /tmp/config-lint
66
+
55
67
# Install Kubectl
56
68
RUN curl -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
57
69
&& chmod +x /usr/local/bin/kubectl
0 commit comments