|
@@ -115,17 +115,6 @@ RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" \
|
|
|
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
|
|
ENV GOPATH /go
|
|
|
|
|
|
-# Dependency for golint
|
|
|
-ENV GO_TOOLS_COMMIT 823804e1ae08dbb14eb807afc7db9993bc9e3cc3
|
|
|
-RUN git clone https://github.com/golang/tools.git /go/src/golang.org/x/tools \
|
|
|
- && (cd /go/src/golang.org/x/tools && git checkout -q $GO_TOOLS_COMMIT)
|
|
|
-
|
|
|
-# Grab Go's lint tool
|
|
|
-ENV GO_LINT_COMMIT 32a87160691b3c96046c0c678fe57c5bef761456
|
|
|
-RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint \
|
|
|
- && (cd /go/src/github.com/golang/lint && git checkout -q $GO_LINT_COMMIT) \
|
|
|
- && go install -v github.com/golang/lint/golint
|
|
|
-
|
|
|
# Install CRIU for checkpoint/restore support
|
|
|
ENV CRIU_VERSION 2.12.1
|
|
|
# Install dependancy packages specific to criu
|
|
@@ -215,7 +204,7 @@ RUN ./contrib/download-frozen-image-v2.sh /docker-frozen-images \
|
|
|
# Please edit hack/dockerfile/install-binaries.sh to update them.
|
|
|
COPY hack/dockerfile/binaries-commits /tmp/binaries-commits
|
|
|
COPY hack/dockerfile/install-binaries.sh /tmp/install-binaries.sh
|
|
|
-RUN /tmp/install-binaries.sh tomlv vndr runc containerd tini proxy dockercli
|
|
|
+RUN /tmp/install-binaries.sh tomlv vndr runc containerd tini proxy dockercli gometalinter
|
|
|
ENV PATH=/usr/local/cli:$PATH
|
|
|
|
|
|
# Activate bash completion and include Docker's completion if mounted with DOCKER_BASH_COMPLETION_PATH
|