-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (16 loc) · 1003 Bytes
/
Dockerfile
File metadata and controls
25 lines (16 loc) · 1003 Bytes
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
FROM alpine:3.12
RUN apk add --no-cache aws-cli curl jq git bash build-base
ARG SOPS_VERSION=3.6.1
ADD https://github.com/mozilla/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux /usr/local/bin/sops
ARG KUBECTL_VERSION=1.19.3
ADD https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl
ARG HELM_VERSION=3.4.0
RUN curl -s https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz | tar -xvz --strip 1 linux-amd64/helm -C /usr/local/bin/
ARG AWS_IAM_AUTHENTICATOR_VERSION=1.18.8/2020-09-18
ADD https://amazon-eks.s3-us-west-2.amazonaws.com/${AWS_IAM_AUTHENTICATOR_VERSION}/bin/linux/amd64/aws-iam-authenticator /usr/local/bin/aws-iam-authenticator
RUN chmod +x /usr/local/bin/*
ENV KUBECONFIG=/kube/kubeconfig
RUN mkdir $(dirname $KUBECONFIG) \
&& touch "$KUBECONFIG"
RUN helm plugin install https://github.com/futuresimple/helm-secrets \
&& helm plugin install https://github.com/hypnoglow/helm-s3.git