Skip to content

Commit b284188

Browse files
committed
chore(rootfs/Dockerfile): install gometalinter from stable tag
1 parent 0817374 commit b284188

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

rootfs/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ENV AZCLI_VERSION=2.0.44 \
44
GO_VERSION=1.11 \
55
GLIDE_VERSION=v0.13.1 \
66
GLIDE_HOME=/root \
7-
GOMETALINTER_VERSION=2.0.5 \
87
HELM_VERSION=v2.6.0 \
98
KUBECTL_VERSION=v1.9.6 \
109
SHELLCHECK_VERSION=v0.4.6 \
@@ -79,10 +78,9 @@ RUN \
7978
github.com/mitchellh/gox \
8079
github.com/onsi/ginkgo/ginkgo \
8180
github.com/hashicorp/packer \
82-
&& curl -fsSLO https://github.com/alecthomas/gometalinter/releases/download/v${GOMETALINTER_VERSION}/gometalinter-${GOMETALINTER_VERSION}-linux-amd64.tar.gz \
83-
&& tar xzvf gometalinter-${GOMETALINTER_VERSION}-linux-amd64.tar.gz --strip-components=1 -C /usr/local/bin \
84-
&& ln -s /usr/local/bin/gometalinter /usr/local/bin/gometalinter.v2 \
85-
&& rm gometalinter-${GOMETALINTER_VERSION}-linux-amd64.tar.gz \
81+
gopkg.in/alecthomas/gometalinter.v2 \
82+
&& ln -s ${GOPATH}/bin/gometalinter.v2 ${GOPATH}/bin/gometalinter \
83+
&& gometalinter.v2 --install \
8684
&& pip install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} shyaml \
8785
&& apt-get purge --auto-remove -y libffi-dev python-dev python-pip \
8886
&& apt-get autoremove -y \

0 commit comments

Comments
 (0)