Skip to content

Commit

Permalink
refactor(dockerfile): include aws-iam-authenticator tool in ansible-r…
Browse files Browse the repository at this point in the history
…unner (#308)

Signed-off-by: ksatchit <karthik.s@openebs.io>
  • Loading branch information
Karthik Satchitanand authored and yudaykiran committed Oct 15, 2018
1 parent 2608b3a commit e2d45ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/ansible-runner/Dockerfile
Expand Up @@ -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 && \
Expand Down

0 comments on commit e2d45ab

Please sign in to comment.