diff --git a/kubectl.Dockerfile b/kubectl.Dockerfile index bd26bcd..3b50c6b 100644 --- a/kubectl.Dockerfile +++ b/kubectl.Dockerfile @@ -3,7 +3,7 @@ FROM bitnami/minideb:bullseye as builder RUN apt-get -y update && apt-get -y install ca-certificates curl jq && \ update-ca-certificates -RUN curl -o /bin/kubectl -L https://dl.k8s.io/release/v1.25.0/bin/linux/amd64/kubectl && chmod 755 /bin/kubectl +RUN curl -o /bin/kubectl -L https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl && chmod 755 /bin/kubectl #### BASE #### FROM gcr.io/distroless/static-debian11:nonroot AS base