File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ENV AZCLI_VERSION=2.5.1 \
1313 ETCDCTL_VERSION=v3.1.8 \
1414 GOLANGCI_LINT_VERSION=v1.25.1 \
1515 PROTOBUF_VERSION=3.7.0 \
16- SHELLCHECK_VERSION=v0.7.0 \
16+ SHELLCHECK_VERSION=v0.7.1 \
1717 SHFMT_VERSION=3.1.0 \
1818 PATH=$PATH:/usr/local/go/bin:/go/bin:/usr/local/bin/docker \
1919 GOPATH=/go
@@ -103,8 +103,8 @@ RUN \
103103 && ln -s ${GOPATH}/bin/gometalinter.v2 ${GOPATH}/bin/gometalinter \
104104 && gometalinter.v2 --install \
105105 && curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ${GOPATH}/bin ${GOLANGCI_LINT_VERSION} \
106- && curl -o /usr/local/bin/shellcheck - sSL https://shellcheck.storage.googleapis. com/shellcheck-${SHELLCHECK_VERSION}.linux- x86_64 \
107- && chmod +x /usr/local/bin/shellcheck \
106+ && curl -sSL https://github. com/koalaman/ shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck -${SHELLCHECK_VERSION}.linux. x86_64.tar.xz \
107+ | tar -vxJ -C /usr/local/bin --strip=1 \
108108 && curl -o /usr/local/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v{SHFMT_VERSION}/shfmt_v{SHFMT_VERSION}_linux_amd64 \
109109 && chmod +x /usr/local/bin/shfmt \
110110 && pip3 install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
You can’t perform that action at this time.
0 commit comments