-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
22 lines (21 loc) · 980 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine:3.10.2
ENV HELM_3_FILE="https://get.helm.sh/helm-v3.0.0-rc.2-linux-amd64.tar.gz"
ENV KUBECTL_FILE="https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/kubectl"
ENV AWS_IAM_AUTHENTICATOR_FILE="https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator"
RUN apk add --no-cache ca-certificates jq curl bash nodejs python3 && \
# Install helm version 3:
curl -L ${HELM_3_FILE} |tar xvz && \
mv linux-amd64/helm /usr/bin/helm && \
chmod +x /usr/bin/helm && \
rm -rf linux-amd64 && \
pip3 install awscli
RUN curl -o kubectl ${KUBECTL_FILE} && \
chmod +x kubectl && \
mv kubectl /usr/bin/kubectl
RUN curl -o aws-iam-authenticator ${AWS_IAM_AUTHENTICATOR_FILE} && \
chmod +x aws-iam-authenticator && \
mv aws-iam-authenticator /usr/bin/aws-iam-authenticator
RUN mkdir -p /github/workspace
WORKDIR /github/workspace
COPY . /root/
ENTRYPOINT ["/root/entrypoint.sh"]