Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from johnsimons/john/decks
Browse files Browse the repository at this point in the history
Add kubelogin
  • Loading branch information
harrisonmeister authored Aug 14, 2023
2 parents d225393 + fb324a8 commit 7ba80e5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ubuntu-2004/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ RUN apt-get update && apt-get install -y git
# Get latest Helm v3
RUN wget --quiet -O - https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

# Get Kubelogin
RUN wget --quiet https://github.com/Azure/kubelogin/releases/latest/download/kubelogin-linux-amd64.zip && \
unzip kubelogin-linux-amd64.zip -d kubelogin-linux-amd64 && \
mv kubelogin-linux-amd64/bin/linux_amd64/kubelogin /usr/local/bin && \
rm -rf kubelogin-linux-amd64 && \
rm kubelogin-linux-amd64.zip

# Get EKS CLI
# https://github.com/weaveworks/eksctl
RUN curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp && \
Expand Down
7 changes: 7 additions & 0 deletions ubuntu-2204/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ RUN apt-get update && apt-get install -y git
# Get latest Helm v3
RUN wget --quiet -O - https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

# Get Kubelogin
RUN wget --quiet https://github.com/Azure/kubelogin/releases/latest/download/kubelogin-linux-amd64.zip && \
unzip kubelogin-linux-amd64.zip -d kubelogin-linux-amd64 && \
mv kubelogin-linux-amd64/bin/linux_amd64/kubelogin /usr/local/bin && \
rm -rf kubelogin-linux-amd64 && \
rm kubelogin-linux-amd64.zip

# Get EKS CLI
# https://github.com/weaveworks/eksctl
RUN curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp && \
Expand Down
3 changes: 3 additions & 0 deletions windows-2019/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ RUN choco install kubernetes-cli -y --no-progress

RUN choco install -y kubernetes-helm --no-progress

# Get Kubelogin
RUN choco install azure-kubelogin --no-progress -y

RUN choco install eksctl -y --no-progress

RUN choco install awscli -y --no-progress
Expand Down

0 comments on commit 7ba80e5

Please sign in to comment.