From 1072e17aba4ba037500412858a2b589d1b88e2de Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 17 Jan 2024 16:02:32 +0100 Subject: Prepare Functest K8S v1.29 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I65573ef010021e310278aa9611d05b42a8616b3b Signed-off-by: Cédric Ollivier --- docker/healthcheck/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docker/healthcheck/Dockerfile') diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile index dce2966d..7c7b728e 100644 --- a/docker/healthcheck/Dockerfile +++ b/docker/healthcheck/Dockerfile @@ -1,8 +1,9 @@ -FROM opnfv/functest-kubernetes-core +FROM opnfv/functest-kubernetes-core:v1.29 +ARG K8S_TAG=1.29 USER root RUN apk --no-cache add --update curl libc6-compat && \ - 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 \ -s --output /usr/local/bin/kubectl && \ -- cgit 1.2.3-korg