aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-09-09 14:29:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2024-09-09 14:29:17 +0200
commit2e48e71af3560382c63a9f5f1bf8b58131cb1b9b (patch)
tree603e28b8bb2c8733481c6cfb5bfd078392e139ed /docker/healthcheck
parentc4de3877ca0ff53820fb8019f1cea067969f16ad (diff)
Prepare Functest Kubernetes v1.31
Change-Id: If85b8bd47c2d9794a87042719ebe3bc7272c6b41 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/healthcheck')
-rw-r--r--docker/healthcheck/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index b8970d98..eef5e11f 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -1,8 +1,9 @@
-FROM opnfv/functest-kubernetes-core
+FROM opnfv/functest-kubernetes-core:v1.31
+ARG K8S_TAG=1.31
USER root
RUN apk --no-cache add --update curl libc6-compat && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest-1.30.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 && \