-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (22 loc) · 1.01 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
31
32
FROM ubuntu:20.04
ARG AWSCLI_VERSION="2.1.26"
ARG KUBECTL_VERSION="1.20.2"
ARG HELM_VERSION="3.5.0"
ARG SOPS_VERSION="3.6.1"
RUN apt update -y -qq && \
apt-get install -yqq curl unzip wget ca-certificates tar git make
RUN curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-$AWSCLI_VERSION.zip" -o "awscliv2.zip" && \
unzip -qq awscliv2.zip && \
./aws/install
RUN curl -LOs "https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl" && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/kubectl
RUN wget "https://get.helm.sh/helm-v$HELM_VERSION-linux-amd64.tar.gz" -q && \
tar -zxvf helm-v$HELM_VERSION-linux-amd64.tar.gz && \
mv linux-amd64/helm /usr/local/bin/helm && \
chmod +x /usr/local/bin/helm
RUN curl -sL "https://github.com/mozilla/sops/releases/download/v$SOPS_VERSION/sops-v$SOPS_VERSION.linux" > sops && \
chmod +x sops && \
mv sops /usr/local/bin/sops
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]