helm-docker/Dockerfile
CSRBot 499bee5501
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
chore(deps): update docker.io/library/alpine docker tag to v3.18.5
2023-11-30 23:10:49 +00:00

17 lines
502 B
Docker

FROM docker.io/library/alpine:3.18.5
ARG HELM_VERSION
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/local/bin/helm" ]