From e2d45abdd83918dbf8fa0bef6cf94c062cbdc8aa Mon Sep 17 00:00:00 2001 From: Karthik Satchitanand Date: Mon, 15 Oct 2018 12:03:39 +0530 Subject: [PATCH] refactor(dockerfile): include aws-iam-authenticator tool in ansible-runner (#308) Signed-off-by: ksatchit --- tools/ansible-runner/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ansible-runner/Dockerfile b/tools/ansible-runner/Dockerfile index 79e960c5..95eebf81 100644 --- a/tools/ansible-runner/Dockerfile +++ b/tools/ansible-runner/Dockerfile @@ -15,8 +15,9 @@ RUN pip install ansible #Installing Kubectl ENV KUBE_LATEST_VERSION="v1.12.0" RUN curl -L https://storage.googleapis.com/kubernetes-release/release/${KUBE_LATEST_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \ - chmod +x /usr/local/bin/kubectl - + chmod +x /usr/local/bin/kubectl && \ + curl -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator && \chmod +x /usr/local/bin/aws-iam-authenticator + #Adding hosts entries and making ansible folders RUN mkdir /etc/ansible/ /ansible && \ echo "[local]" >> /etc/ansible/hosts && \