Compare commits
2 Commits
361bfe9314
...
7e76594809
Author | SHA1 | Date | |
---|---|---|---|
7e76594809 | |||
22ba0676d8 |
@ -5,13 +5,14 @@ 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 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
|
||||
|
||||
# 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/helm-unittest/helm-unittest.git && \
|
||||
helm plugin install https://github.com/losisin/helm-values-schema-json.git
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/helm" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user