2023-08-07 21:45:20 +00:00
|
|
|
FROM docker.io/library/alpine:3.18.3
|
2022-01-29 21:14:27 +00:00
|
|
|
|
|
|
|
ARG HELM_VERSION
|
|
|
|
|
2022-02-09 21:05:48 +00:00
|
|
|
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
|
|
|
|
2022-02-09 21:05:48 +00:00
|
|
|
RUN [[ ${HELM_VERSION} == "" ]]; bash /tmp/install.sh
|
|
|
|
RUN [[ ${HELM_VERSION} != "" ]]; bash /tmp/install.sh --version ${HELM_VERSION}
|
|
|
|
|
|
|
|
RUN rm /tmp/install.sh
|
2022-01-31 18:40:11 +00:00
|
|
|
|
2022-02-03 20:19:06 +00:00
|
|
|
# Install additionally cm-push plugin
|
|
|
|
RUN helm plugin install https://github.com/chartmuseum/helm-push.git
|
2022-02-03 16:59:25 +00:00
|
|
|
|
2022-02-09 21:05:48 +00:00
|
|
|
ENTRYPOINT [ "/usr/local/bin/helm" ]
|