-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (12 loc) · 649 Bytes
/
Copy pathDockerfile
File metadata and controls
19 lines (12 loc) · 649 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM alpine:3.23.3
RUN apk update && apk --no-cache add bash curl git
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG KUSTOMIZE=5.8.1
RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE}/kustomize_v${KUSTOMIZE}_linux_amd64.tar.gz | \
tar xz && mv kustomize /usr/local/bin/kustomize
ARG HELM_V3=3.19.2
RUN curl -sSL https://get.helm.sh/helm-v${HELM_V3}-linux-amd64.tar.gz | \
tar xz && mv linux-amd64/helm /usr/local/bin/helmv3 && rm -rf linux-amd64 && ln -s /usr/local/bin/helmv3 /usr/local/bin/helm && helm version
RUN rm -rf /var/cache/apk/*
COPY kustdiff /kustdiff
ENTRYPOINT ["/kustdiff"]