fixed again
Some checks failed
Build and push k8s-workflow-image / build (push) Failing after 5s

This commit is contained in:
Chris Ellrich 2025-04-09 21:28:52 +02:00
parent 74381bdc46
commit 96f7aadd5a
Signed by: c.ellrich
GPG Key ID: D1850E1719D845AE

View File

@ -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