diff --git a/scripts/Dockerfile.test b/scripts/Dockerfile.test index 9f7e133a9..5b877d263 100644 --- a/scripts/Dockerfile.test +++ b/scripts/Dockerfile.test @@ -13,6 +13,7 @@ FROM fedora:latest ARG GOLANGCI_VERSION=v1.21.0 ARG GOSEC_VERSION=2.0.0 ARG GOPATH=/go +ARG HELM_VERSION=v3.1.2 ENV \ GOPATH=${GOPATH} \ @@ -37,7 +38,7 @@ RUN dnf -y install \ | bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \ && curl -sfL "https://raw.githubusercontent.com/securego/gosec/master/install.sh" \ | sh -s -- -b $GOPATH/bin "${GOSEC_VERSION}" \ - && curl -L https://git.io/get_helm.sh | bash \ + && curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \ && mkdir /opt/commitlint && pushd /opt/commitlint \ && npm init -y \ && npm install @commitlint/cli \