aboutsummaryrefslogtreecommitdiffstats
path: root/docker/cnf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2025-01-19 15:35:57 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2025-01-19 15:35:57 +0100
commitad559e8b794149f641ee4d5ca515af513fe496ce (patch)
tree56f2ab8457407b90e3d41f7895307545199a460c /docker/cnf
parentdbcc0ba49fa3924789ca33fa395262cf69574387 (diff)
Stop using storage.googleapis.com
Change-Id: If1fd1845cee8d185d6c0fb0b238dfac16928cd8e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/cnf')
-rw-r--r--docker/cnf/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/cnf/Dockerfile b/docker/cnf/Dockerfile
index ceaf5ba4..a8f3ba52 100644
--- a/docker/cnf/Dockerfile
+++ b/docker/cnf/Dockerfile
@@ -6,9 +6,9 @@ ARG HELM_TAG=v3.6.0
USER root
RUN apk --no-cache add --update wget curl ncurses git yaml openssl zlib && \
apk --no-cache add --virtual .build-deps --update crystal shards make yaml-dev openssl-dev zlib-dev patch openssl-libs-static yaml-static zlib-static && \
- tag=$(curl -s https://storage.googleapis.com/kubernetes-release/release/latest.txt) && \
+ tag=$(curl -Ls https://dl.k8s.io/release/latest.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 \
+ curl -Ls https://dl.k8s.io/release/$tag/bin/linux/$arch/kubectl \
--output /usr/local/bin/kubectl && \
curl https://get.helm.sh/helm-$HELM_TAG-linux-$arch.tar.gz \
--output /src/helm-$HELM_TAG-linux-$arch.tar.gz && \