helm-docker/Dockerfile

19 lines
692 B
Docker
Raw Normal View History

FROM docker.io/library/alpine:3.21.0
2022-01-29 21:14:27 +00:00
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
2022-01-31 18:40:11 +00:00
RUN if [[ -z "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh; fi
RUN if [[ -n "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh --version "${HELM_VERSION}"; fi
RUN rm /tmp/install.sh
2022-01-31 18:40:11 +00:00
2024-09-16 14:59:49 +00:00
# Install additionally helm plugins
RUN helm plugin install https://github.com/chartmuseum/helm-push.git && \
helm plugin install https://github.com/helm-unittest/helm-unittest.git && \
helm plugin install https://github.com/losisin/helm-values-schema-json.git
ENTRYPOINT [ "/usr/local/bin/helm" ]