Fix helmfile dockerfile

This commit is contained in:
Nikolai Rodionov 2023-02-15 14:20:58 +01:00
parent 34a957ef4a
commit 7adb5f0a4a
2 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ RUN apt-get update -y && apt-get install tar -y
ARG HELM_VERSION=v3.10.3 ARG HELM_VERSION=v3.10.3
ARG HELMFILE_VERSION=0.150.0 ARG HELMFILE_VERSION=0.150.0
ENV RUST_LOG=info ENV RUST_LOG=info
RUN dudo -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -i /tmp/helmfile -p $HELMFILE_VERSION RUN dudo -l "https://github.com/helmfile/helmfile/releases/download/v{{ version }}/helmfile_{{ version }}_{{ os }}_{{ arch }}.tar.gz" -i /tmp/helmfile.tar.gz -p $HELMFILE_VERSION
RUN dudo -l "https://get.helm.sh/helm-{{ version }}-{{ os }}-{{ arch }}.tar.gz" -i /tmp/helm.tar.gz -p $HELM_VERSION RUN dudo -l "https://get.helm.sh/helm-{{ version }}-{{ os }}-{{ arch }}.tar.gz" -i /tmp/helm.tar.gz -p $HELM_VERSION
RUN tar -xf /tmp/helm.tar.gz -C /tmp && rm -f /tmp/helm.tar.gz RUN tar -xf /tmp/helm.tar.gz -C /tmp && rm -f /tmp/helm.tar.gz
RUN tar -xf /tmp/helmfile.tar.gz -C /tmp && rm -f /tmp/helmfile.tar.gz
RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done
RUN chmod +x /out/helm RUN chmod +x /out/helm
RUN chmod +x /out/helmfile RUN chmod +x /out/helmfile

View File

@ -11,4 +11,4 @@ releases:
namespace: keel-system namespace: keel-system
createNamespace: true createNamespace: true
chart: keel/keel chart: keel/keel
version: 0.9.11 version: 0.9.10