|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
FROM alpine:3.19 as builder
|
|
|
|
|
FROM alpine:3.20 as builder
|
|
|
|
|
|
|
|
|
|
RUN apk add --no-cache ca-certificates curl
|
|
|
|
|
|
|
|
|
|
ARG ARCH=linux/amd64
|
|
|
|
|
ARG KUBECTL_VER=1.30.0
|
|
|
|
|
ARG KUBECTL_VER=1.31.0
|
|
|
|
|
|
|
|
|
|
RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VER}/bin/${ARCH}/kubectl \
|
|
|
|
|
-o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl && \
|
|
|
|
|
kubectl version --client=true
|
|
|
|
|
|
|
|
|
|
FROM alpine:3.19 as flux-cli
|
|
|
|
|
FROM alpine:3.20 as flux-cli
|
|
|
|
|
|
|
|
|
|
RUN apk add --no-cache ca-certificates
|
|
|
|
|
|
|
|
|
|