From 6d6a86451597f92d1b69d024ea18b7ac4c5ed6e8 Mon Sep 17 00:00:00 2001 From: "david.bajon" Date: Fri, 18 Feb 2022 16:30:13 +0100 Subject: [PATCH] Hotfix: selecting last compatible kubectl version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b8b9f2..ff4cc97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN curl -O https://bootstrap.pypa.io/get-pip.py \ RUN cp /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN pip install awscli --upgrade -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/v1.17.17/bin/linux/amd64/kubectl \ && chmod +x kubectl && mv kubectl /usr/local/bin/kubectl \ && mkdir -p /root/.kube VOLUME ["/root/.kube"]