File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
4142 python-dev \
4243 python-pip \
4344 python-setuptools \
44- shellcheck \
4545 rsync \
4646 ruby \
4747 unzip \
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 \
You can’t perform that action at this time.
0 commit comments