Skip to content

Commit f2c12c7

Browse files
authored
chore(rootfs/Dockerfile): update shellcheck to v0.7.1 (#226)
* chore(rootfs/Dockerfile): update shellcheck to v0.7.1 See https://github.com/koalaman/shellcheck/releases/tag/v0.7.1 * fix(rootfs/Dockerfile): catch up with archive name change
1 parent 8987321 commit f2c12c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)