Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 1.15 KB
FROM amazonlinux:2018.03
MAINTAINER hausenbl@amazon.com
# install eksctl, IAM authenticator, kubectl, and Helm
RUN yum -y install shadow-utils && \
curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.12.7/2019-03-27/bin/linux/amd64/aws-iam-authenticator && \
chmod +x ./aws-iam-authenticator && \
mv ./aws-iam-authenticator /usr/local/bin && \
curl --silent --location "https://github.com/weaveworks/eksctl/releases/download/0.1.38/eksctl_Linux_amd64.tar.gz" | tar xz -C /tmp && \
mv -v /tmp/eksctl /usr/local/bin && \
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin && \
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh && \
chmod +x get_helm.sh && \
./get_helm.sh && \
JQ=/usr/bin/jq && \
curl https://stedolan.github.io/jq/download/linux64/jq > $JQ && chmod +x $JQ
WORKDIR /
RUN /usr/sbin/useradd eksctl
USER eksctl
COPY deluxe-install.sh .
CMD ./deluxe-install.sh
You can’t perform that action at this time.