Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Switch kubernetes-helm to use curl to aquire latest kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Jun 13, 2019
1 parent 1ccd64a commit 7aabfd7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions containers/kubernetes-helm/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ RUN apt-get update \
&& apt-get install -y docker-ce-cli \
#
# Install kubectl
&& curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | (OUT=$(apt-key add - 2>&1) || echo $OUT) \
&& echo "deb https://apt.kubernetes.io/ kubernetes-$(lsb_release -cs) main" | tee -a /etc/apt/sources.list.d/kubernetes.list \
&& apt-get update \
&& apt-get install -y kubectl \
&& curl -sSLO -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
&& chmod +x /usr/local/bin/kubectl \
#
# Install Helm
&& curl -s https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash - \
Expand Down

0 comments on commit 7aabfd7

Please sign in to comment.