helm-docker/Dockerfile
Markus Pesch acd9f0d686
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Merge branch 'master' into renovate/docker.io-library-alpine-3.x
2022-02-09 21:36:56 +00:00

17 lines
500 B
Docker

FROM docker.io/library/alpine:3.15
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" ]