-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (24 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ubuntu:24.04@sha256:dfc10878be8d8fc9c61cbff33166cb1d1fe44391539243703c72766894fa834a
RUN apt update
RUN apt upgrade -y
# curl git
RUN apt install -y curl git
# helm
ENV HELM_VERSION=v3.16.1
RUN curl -fsSL -o /usr/local/bin/get_helm.sh https://github.com/helm/helm/master/scripts/get-helm-3 && \
chmod +x /usr/local/bin/get_helm.sh && \
DESIRED_VERSION=${HELM_VERSION} get_helm.sh
# helmfile
ENV HELMFILE_VERSION=v0.144.0
RUN curl -fsSL -o /usr/local/bin/helmfile https://github.com/roboll/helmfile/releases/download/${HELMFILE_VERSION}/helmfile_linux_amd64 && \
chmod +x /usr/local/bin/helmfile
# kustomize
ENV KUSTOMIZE_VERSION=5.4.3
RUN curl -fsSL -o /usr/local/bin/install_kustomize.sh https://github.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh && \
chmod +x /usr/local/bin/install_kustomize.sh && \
install_kustomize.sh ${KUSTOMIZE_VERSION} /usr/local/bin/
# checks
RUN curl --version
RUN helm version
RUN helmfile version
RUN kustomize version