From 96f7aadd5ad69e7b1012df0571060169981d02bc Mon Sep 17 00:00:00 2001 From: Christoph Ellrich Date: Wed, 9 Apr 2025 21:28:52 +0200 Subject: [PATCH] fixed again --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 826bf92..6bed5bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,7 @@ FROM alpine:3.19 RUN apk add --no-cache curl bash ca-certificates # Install kubectl -RUN KUBECTL_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt) && \ - curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \ +RUN curl -LO "https://dl.k8s.io/release/$(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \ install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \ rm kubectl