diff --git a/Dockerfile b/Dockerfile index f1af4d0..b4c2975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,21 @@ FROM docker:stable-dind RUN apk add --update alpine-sdk -RUN apk add --update bash python python-dev py-pip build-base openssh jq rsync +RUN apk add --update bash python python-dev py-pip build-base openssh jq rsync gettext RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing aufs-util RUN pip install docker-compose RUN pip install awscli RUN mkdir -p ~/.ssh/ RUN echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config +RUN 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/kubectl + +RUN curl -LO https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/aws-iam-authenticator && \ + chmod +x ./aws-iam-authenticator && \ + mv ./aws-iam-authenticator /usr/local/bin/aws-iam-authenticator + COPY start.sh /etc/start.sh RUN chmod +x /etc/start.sh