@@ -21,17 +21,19 @@ LABEL maintainer="Hans Jörg Wieland <hajo@ventx.de>" \
21
21
# Tool versions
22
22
ENV CT 3.8.0
23
23
ENV DEBIAN_FRONTEND="noninteractive"
24
- ENV HELM="3.12.1 "
24
+ ENV HELM="3.12.3 "
25
25
ENV HELM_DOCS="1.11.0"
26
- ENV HELM_SECRETS="4.4.2 "
27
- ENV HELM_UNITTEST="0.3.3 "
26
+ ENV HELM_SECRETS="4.5.0 "
27
+ ENV HELM_UNITTEST="0.3.4 "
28
28
ENV KUBECTL="1.25.11"
29
- ENV KUBESCORE="1.16.1 "
29
+ ENV KUBESCORE="1.17.0 "
30
30
ENV KUBESEC="2.13.0"
31
- ENV KUBECONFORM="0.6.2"
31
+ ENV KUBECONFORM="0.6.3"
32
+ ENV KUSTOMIZE="5.1.1"
32
33
ENV TZ="Europe/Berlin"
33
34
ENV YAMALE="4.0.4"
34
35
ENV YAMLLINT="1.32.0"
36
+ ENV YQ="4.35.1"
35
37
36
38
# hadolint: DL4006
37
39
SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
@@ -41,11 +43,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
41
43
tzdata=2023c-0ubuntu0.22.04.2 \
42
44
ca-certificates=20230311ubuntu0.22.04.1 \
43
45
curl=7.81.0-1ubuntu1.13 \
44
- git=1:2.34.1-1ubuntu1.9 \
46
+ git=1:2.34.1-1ubuntu1.10 \
45
47
gnupg=2.2.27-3ubuntu2.1 \
46
48
jq=1.6-2.1ubuntu3 \
47
49
make=4.3-4.1build1 \
48
- openssh-client=1:8.9p1-3ubuntu0.1 \
50
+ openssh-client=1:8.9p1-3ubuntu0.3 \
49
51
python3-pip=22.0.2+dfsg-1ubuntu0.3 \
50
52
wget=1.21.2-2ubuntu1 \
51
53
&& rm -rf /var/lib/apt/lists/*
@@ -96,16 +98,21 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$
96
98
curl -sLS "https://github.com/yannh/kubeconform/releases/download/v${KUBECONFORM}/kubeconform-linux-${ARCHITECTURE}.tar.gz" | tar -xzO kubeconform > /usr/local/bin/kubeconform && \
97
99
chmod +x /usr/local/bin/kubeconform
98
100
99
- # kubernetes-json-schema
100
- RUN git clone --depth 1 --branch master --no-checkout https://github.com/yannh/kubernetes-json-schema.git && \
101
- cd kubernetes-json-schema && git sparse-checkout set v${KUBECTL}-standalone-strict && git checkout master && \
102
- mkdir -p /schema && cp -r v${KUBECTL}-standalone-strict /schema/ && cd .. && rm -rf kubernetes-json-schema
103
-
104
101
# helm-docs
105
102
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=x86_64; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; else echo "Unsupported Architeture" && exit 1; fi && \
106
103
curl -sLS "https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS}/helm-docs_1.11.0_Linux_${ARCHITECTURE}.tar.gz" | tar -xzO helm-docs > /usr/local/bin/helm-docs && \
107
104
chmod +x /usr/local/bin/helm-docs
108
105
106
+ # kustomize
107
+ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; else ARCHITECTURE=amd64; fi && \
108
+ curl -sLS "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE}/kustomize_v${KUSTOMIZE}_linux_${ARCHITECTURE}.tar.gz" | tar -xzO kustomize > /usr/local/bin/kustomize && \
109
+ chmod +x /usr/local/bin/kustomize
110
+
111
+ # yq
112
+ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; else ARCHITECTURE=amd64; fi && \
113
+ curl -SsL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v${YQ}/yq_linux_${ARCHITECTURE} && \
114
+ chmod +x /usr/local/bin/yq
115
+
109
116
WORKDIR /work
110
117
111
118
CMD ["helm" , "version" ]
0 commit comments