fix: install helm via installation script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-09 22:05:48 +01:00
parent 46a766bbfb
commit e2eb729cec
3 changed files with 9 additions and 42 deletions

View File

@ -2,10 +2,15 @@ FROM docker.io/library/alpine:3.14
ARG HELM_VERSION
COPY install.sh /install.sh
RUN VERSION=${HELM_VERSION} /install.sh
RUN apk add bash curl git openssl && \
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh
RUN [[ ${HELM_VERSION} == "" ]]; bash /tmp/install.sh
RUN [[ ${HELM_VERSION} != "" ]]; bash /tmp/install.sh --version ${HELM_VERSION}
RUN rm /tmp/install.sh
# Install additionally cm-push plugin
RUN helm plugin install https://github.com/chartmuseum/helm-push.git
ENTRYPOINT [ "/usr/bin/helm" ]
ENTRYPOINT [ "/usr/local/bin/helm" ]