aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/healthcheck/Dockerfile')
-rw-r--r--docker/healthcheck/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index 0a8069a0..31e882a7 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -1,9 +1,9 @@
FROM opnfv/functest-kubernetes-core
-ARG K8S_TAG=latest
+ARG K8S_TAG=1.21
RUN apk --no-cache add --update curl libc6-compat && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/$K8S_TAG.txt) && \
+ tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-$K8S_TAG.txt) && \
case $(uname -m) in armv7l) arch=arm;; aarch64) arch=arm64;; x86_64) arch=amd64;; esac && \
curl https://storage.googleapis.com/kubernetes-release/release/$tag/bin/linux/$arch/kubectl \
-s --output /usr/local/bin/kubectl && \