This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
check-da-helm/Dockerfile-helmfile
Nikolai Rodionov 9e23345df9 WIP
2023-01-25 12:54:22 +01:00

17 lines
569 B
Plaintext

FROM alpine:3.17.1
ARG HELM_VERSION=3.10.3
ARG HELMFILE_VERSION=0.150.0
ARG HELM_LINK=https://get.helm.sh/helm-v$HELM_VERSION-linux-$PLATFORM.tar.gz
ARG HELMFILE_LINK=https://github.com/helmfile/helmfile/releases/download/v$HELMFILE_VERSION/helmfile_$HELMFILE_VERSION_linux_\$PLATFORM.tar.gz
RUN apk update && apk add --no-cache curl
COPY ./scripts /tmp
RUN echo "installing helm from ${HELM_LINK}"
ENV HELM_ARCHIVE_PATH=/tmp/helm.tar.gz
RUN /tmp/download_for_arch.sh $HELM_LINK $HELM_ARCHIVE_PATH
RUN tar -zxvf $HELM_ARCHIVE_PATH
RUN echo $HELMFILE_LINK
CMD ["sh"]