diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-01-17 16:02:32 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-01-17 17:33:40 +0100 |
commit | 1072e17aba4ba037500412858a2b589d1b88e2de (patch) | |
tree | 614379997c7e482f5b85c9b4c46b77fdfaa6222f /docker/cnf/Dockerfile | |
parent | 9cb990f8f874f395fe6aa7f045fa9dcc3fdb35c4 (diff) |
Prepare Functest K8S v1.29
Change-Id: I65573ef010021e310278aa9611d05b42a8616b3b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/cnf/Dockerfile')
-rw-r--r-- | docker/cnf/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile index 9c9553e7..c2cc0a84 100644 --- a/docker/cnf/Dockerfile +++ b/docker/cnf/Dockerfile @@ -1,11 +1,12 @@ -FROM opnfv/functest-kubernetes-core +FROM opnfv/functest-kubernetes-core:v1.29 +ARG K8S_TAG=1.29 ARG CNF_TESTSUITE_TAG=v0.45.0 ARG HELM_TAG=v3.3.1 USER root RUN apk --no-cache add --update wget curl libc6-compat ncurses && \ - tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-1.29.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 && \ |