diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-11-30 14:35:42 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-11-30 14:41:59 +0100 |
commit | c81d3b323aad8e3451f81a263fb790afe3d4850c (patch) | |
tree | 1e821f13879bf5214bb334822aad4cbdfb2f819a /docker/cnf | |
parent | 504b9be3907c4397228e10cf9efa6fcabb1163a3 (diff) |
Update to v1.27
Change-Id: I3007d4545cb80b54b9858dafbfc2442b32bcbb5e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/cnf')
-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 37cb4691..b79a10a4 100644 --- a/docker/cnf/Dockerfile +++ b/docker/cnf/Dockerfile @@ -1,11 +1,12 @@ -FROM opnfv/functest-kubernetes-core +FROM opnfv/functest-kubernetes-core:v1.27 +ARG K8S_TAG=1.27 ARG CNF_TESTSUITE_TAG=v0.34.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.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 && \ |