Skip to content

Commit

Permalink
Add kubectl to container
Browse files Browse the repository at this point in the history
  • Loading branch information
pathob committed Jun 24, 2021
1 parent 4a0c1e3 commit 0f187a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ RUN apt-get update && apt-get install -y \

RUN pip3 install yq

# Install Kubectl

RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
&& echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list \
&& apt-get update && apt-get install -y kubectl

# Install Helm

RUN curl https://baltocdn.com/helm/signing.asc | apt-key add - \
RUN curl -s https://baltocdn.com/helm/signing.asc | apt-key add - \
&& echo "deb https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list \
&& apt-get update && apt-get install -y helm

Expand Down

0 comments on commit 0f187a5

Please sign in to comment.