aboutsummaryrefslogtreecommitdiffstats
path: root/docker/healthcheck
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-11-30 14:35:42 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2023-11-30 14:35:42 +0100
commit97d759563b889b87b8c7aa076ee724e40732199f (patch)
treec03ec15ab63d1500895b5b474e32746287467229 /docker/healthcheck
parent0d9f5bb564de5a39363e7ace6674d96cf719aeb0 (diff)
Update to v1.28
Change-Id: I3007d4545cb80b54b9858dafbfc2442b32bcbb5e 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 13ffe449..a470d78f 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -1,8 +1,9 @@
-FROM opnfv/functest-kubernetes-core
+FROM opnfv/functest-kubernetes-core:v1.28
+ARG K8S_TAG=1.28
USER root
RUN apk --no-cache add --update curl libc6-compat && \
- 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 \
-s --output /usr/local/bin/kubectl && \