fix(Dockerfile): update shell script to v4

This commit is contained in:
2025-11-12 22:00:55 +01:00
parent 1f164f8197
commit 506c6326a6

View File

@@ -3,7 +3,7 @@ FROM docker.io/library/alpine:3.22.2
ARG HELM_VERSION ARG HELM_VERSION
RUN apk add bash curl git openssl && \ RUN apk add bash curl git openssl && \
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 --output /tmp/install.sh curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4 --output /tmp/install.sh
RUN if [[ -z "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh; fi 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 if [[ -n "${HELM_VERSION+x}" ]]; then bash /tmp/install.sh --version "${HELM_VERSION}"; fi