aboutsummaryrefslogtreecommitdiffstats
path: root/docker/cnf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-12-16 09:13:34 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-12-17 17:17:22 +0100
commita1cbc8a5dd270b678e585cc20c53bac49c8894b1 (patch)
tree468ba8baff9a158eddc56a14d2b0f6f9053cb199 /docker/cnf
parent3e1d5e951c7691f51ab80b12bf83dbfc52d0a8fc (diff)
Prepare new Functest K8S v1.23 containers
Change-Id: I23142c207c50eca24ad075a838f44d00293989b5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/cnf')
-rw-r--r--docker/cnf/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index 6774e805..69d1699e 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -1,10 +1,11 @@
-FROM opnfv/functest-kubernetes-core
+FROM opnfv/functest-kubernetes-core:v1.23
+ARG K8S_TAG=1.23
ARG CNF_TESTSUITE_TAG=v0.15.0
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.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 && \