Skip to content
Snippets Groups Projects
Verified Commit 346bcb52 authored by Robotka István Adrián's avatar Robotka István Adrián
Browse files

fix kubectl

parent 59a59adc
No related branches found
No related tags found
No related merge requests found
Pipeline #3224 passed
FROM alpine
RUN apk add --no-cache curl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin/kubectl
RUN kubectl version
RUN kubectl version --client
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment