aboutsummaryrefslogtreecommitdiffstats
path: root/docker/cnf/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/cnf/Dockerfile')
-rw-r--r--docker/cnf/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index c7cd53d1..adf4c23a 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -1,11 +1,10 @@
FROM opnfv/functest-kubernetes-core
-ARG K8S_TAG=1.22
ARG CNF_TESTSUITE_TAG=v0.11.2
ARG HELM_TAG=v3.3.1
RUN apk --no-cache add --update wget curl libc6-compat ncurses && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-$K8S_TAG.txt) && \
+ tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest.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 \
--output /usr/local/bin/kubectl && \