add flux binary as requirement
This commit is contained in:
parent
bc10b5c164
commit
e835d4d914
@ -17,6 +17,8 @@ ARG HELM_VERSION
|
||||
ARG KUSTOMIZE_VERSION
|
||||
ARG KUBECONFORM_VERSION
|
||||
ARG POLARIS_VERSION
|
||||
ARG FLUX_LOCAL_VERSION
|
||||
ARG FLUX_VERSION
|
||||
|
||||
# renovate: datasource=github-releases depName=kubernetes/kubernetes
|
||||
ENV KUBECTL_VERSION="${KUBECTL_VERSION:-v1.29.0}"
|
||||
@ -32,6 +34,8 @@ ENV KUBECONFORM_VERSION="${KUBECONFORM_VERSION:-v0.6.4}"
|
||||
ENV POLARIS_VERSION="${POLARIS_VERSION:-8.5.4}"
|
||||
# renovate: datasource=pypi depName=flux-local
|
||||
ENV FLUX_LOCAL_VERSION="${FLUX_LOCAL_VERSION:-4.2.2}"
|
||||
# renovate: datasource=github-releases depName=fluxcd/flux2
|
||||
ENV FLUX_VERSION="${FLUX_VERSION:-v2.2.1}"
|
||||
|
||||
ENV PIPX_HOME=/opt/pipx
|
||||
ENV PIPX_BIN_DIR=/usr/local/bin
|
||||
@ -52,6 +56,8 @@ RUN apk --update add curl tar bash python3 pipx findutils git && \
|
||||
| tar xz -C /usr/local/bin kubeconform && \
|
||||
curl -SsfL "https://github.com/FairwindsOps/polaris/releases/download/${POLARIS_VERSION}/polaris_${TARGETOS}_${TARGETARCH}.tar.gz" \
|
||||
| tar xz -C /usr/local/bin polaris && \
|
||||
curl -SsfL "https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${FLUX_VERSION##v}_{TARGETOS}_${TARGETARCH}.tar.gz" \
|
||||
| tar xz -C /usr/local/bin flux && \
|
||||
chmod 755 /usr/local/bin/kubectl && \
|
||||
chmod 755 /usr/local/bin/kubectl-convert && \
|
||||
chmod 755 /usr/local/bin/yq && \
|
||||
|
Loading…
Reference in New Issue
Block a user