-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (19 loc) · 870 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:jammy
# Install kubectl
RUN apt-get update && apt-get install -y curl \
&& curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.24.0/bin/linux/amd64/kubectl \
&& mv ./kubectl /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/kubectl
# Install helm
RUN curl -LO https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz \
&& tar -zxvf helm-v3.5.0-linux-amd64.tar.gz \
&& mv linux-amd64/helm /usr/local/bin/helm \
&& chmod +x /usr/local/bin/helm
# Install kustomize
RUN curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash \
&& mv kustomize /usr/local/bin/kustomize \
&& chmod +x /usr/local/bin/kustomize
# Install gettext-base (envsubst)
RUN apt-get update && apt-get install -y gettext-base \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*