Skip to content

Commit eefadf4

Browse files
authored
chore(rootfs/Dockerfile): update shellcheck to v0.6.0 (#160)
1 parent e91839b commit eefadf4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rootfs/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ENV AZCLI_VERSION=2.0.60 \
1212
ETCDCTL_VERSION=v3.1.8 \
1313
GOLANGCI_LINT_VERSION=v1.15.0 \
1414
PROTOBUF_VERSION=3.7.0 \
15+
SHELLCHECK_VERSION=v0.6.0 \
1516
PATH=$PATH:/usr/local/go/bin:/go/bin:/usr/local/bin/docker \
1617
GOPATH=/go
1718

@@ -41,7 +42,6 @@ RUN \
4142
python-dev \
4243
python-pip \
4344
python-setuptools \
44-
shellcheck \
4545
rsync \
4646
ruby \
4747
unzip \
@@ -96,6 +96,8 @@ RUN \
9696
&& ln -s ${GOPATH}/bin/gometalinter.v2 ${GOPATH}/bin/gometalinter \
9797
&& gometalinter.v2 --install \
9898
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ${GOPATH}/bin ${GOLANGCI_LINT_VERSION} \
99+
&& curl -o /usr/local/bin/shellcheck -sSL https://shellcheck.storage.googleapis.com/shellcheck-${SHELLCHECK_VERSION}.linux-x86_64 \
100+
&& chmod +x /usr/local/bin/shellcheck \
99101
&& pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
100102
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip \
101103
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)