From ebd5c981b86c4e692c0f0f3a7e5c5c2dda403a90 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 20 Aug 2021 12:18:25 +0200 Subject: Take v1.22 into account MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iec601131e41bf3e9c6c5b2e381dc9089d545bca8 Signed-off-by: Cédric Ollivier --- docker/healthcheck/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/healthcheck/Dockerfile') diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile index 4788413d..919eb056 100644 --- a/docker/healthcheck/Dockerfile +++ b/docker/healthcheck/Dockerfile @@ -1,9 +1,9 @@ -FROM opnfv/functest-kubernetes-core +FROM opnfv/functest-kubernetes-core:v1.22 ARG K8S_TAG=1.22 RUN apk --no-cache add --update curl libc6-compat && \ - 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 \ -s --output /usr/local/bin/kubectl && \ -- cgit 1.2.3-korg