From 48d04f8a151298e8c0d1d516c63a41cd05c01147 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 18 Jul 2018 11:10:03 +0300
Subject: [PATCH] Added Heptio AWS authenticator, show versions of tools
 included.

---
 Dockerfile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 233f254..3571728 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,10 +5,18 @@ RUN wget https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest && \
     install -m755 ecs-cli-linux-amd64-latest /usr/local/bin/ecs-cli
 RUN wget https://storage.googleapis.com/kubernetes-release/release/$(wget -O - https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
     install -m755 kubectl /usr/local/bin/
+RUN wget https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.3.0/heptio-authenticator-aws_0.3.0_linux_amd64 && \
+    install -m755 heptio-authenticator-aws_0.3.0_linux_amd64 /usr/local/bin/heptio-authenticator-aws
 
 FROM docker:latest
 
 FROM python:3.7-alpine3.7
 COPY --from=docker /usr/local/bin/docker /usr/local/bin/
-COPY --from=ecs /go/bin/docker-credential-ecr-login /usr/local/bin/ecs-cli /usr/local/bin/kubectl /usr/local/bin/
-RUN pip install --no-cache-dir --progress-bar=off awscli docker-compose
+COPY --from=ecs /go/bin/docker-credential-ecr-login /usr/local/bin/ecs-cli /usr/local/bin/kubectl /usr/local/bin/heptio-authenticator-aws /usr/local/bin/
+RUN pip install --no-cache-dir --progress-bar=off awscli docker-compose && \
+    docker version && \
+    docker-credential-ecr-login version && \
+    ecs-cli --version && \
+    kubectl version --client && \
+    aws --version && \
+    docker-compose --version
-- 
GitLab