aboutsummaryrefslogtreecommitdiffstats
path: root/docker/cnf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-08-20 12:18:25 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-08-20 12:18:25 +0200
commitebd5c981b86c4e692c0f0f3a7e5c5c2dda403a90 (patch)
treefc9cf0d94d1a596d757e29245095b9d6a64bf21c /docker/cnf
parentb63b3465c58b24ae1ef6d82e19c91aa212c705dc (diff)
Take v1.22 into account
Change-Id: Iec601131e41bf3e9c6c5b2e381dc9089d545bca8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/cnf')
-rw-r--r--docker/cnf/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index c7cd53d1..1a5aa06b 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -1,11 +1,11 @@
-FROM opnfv/functest-kubernetes-core
+FROM opnfv/functest-kubernetes-core:v1.22
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/stable-$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 \
--output /usr/local/bin/kubectl && \