Skip to content

Commit

Permalink
Merge pull request #5204 from fluxcd/kubectl-1.32.2
Browse files Browse the repository at this point in the history
Update kubectl in flux-cli image
  • Loading branch information
stefanprodan authored Feb 20, 2025
2 parents c84d312 + 6f65c92 commit af67405
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ FROM alpine:3.21 AS builder
RUN apk add --no-cache ca-certificates curl

ARG ARCH=linux/amd64
ARG KUBECTL_VER=1.32.0
ARG KUBECTL_VER=1.32.2

RUN curl -sL https://dl.k8s.io/release/v${KUBECTL_VER}/bin/linux/${ARCH}/kubectl \
-o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl && \
kubectl version --client=true
RUN curl -sL https://dl.k8s.io/release/v${KUBECTL_VER}/bin/${ARCH}/kubectl \
-o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl

RUN kubectl version --client=true

FROM alpine:3.21 AS flux-cli

Expand Down

0 comments on commit af67405

Please sign in to comment.