From d24973553fc98720e8f4ff144a71a944bb2f2376 Mon Sep 17 00:00:00 2001 From: longfei Date: Tue, 19 Mar 2019 17:15:25 +0800 Subject: [PATCH] Fix go get golang.org/x/* packages timed out issue. Change-Id: I60c92d0127cfc503c46b26fe7b2e3ad2f957dfa3 --- Dockerfile.dapper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 609b749e54..235a9900c4 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -5,7 +5,8 @@ RUN apk -U --no-cache add bash git gcc musl-dev docker vim less file curl wget c python3 py3-pip python3-dev openssl-dev libffi-dev libseccomp libseccomp-dev make RUN pip3 install 'tox==3.6.0' RUN apk -U --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main/ add sqlite-dev sqlite-static -RUN go get -d golang.org/x/lint/golint && \ +RUN mkdir -p /go/src/golang.org/x && \ + cd /go/src/golang.org/x && git clone https://github.com/golang/tools && git clone https://github.com/golang/lint && \ git -C /go/src/golang.org/x/lint/golint checkout -b current 06c8688daad7faa9da5a0c2f163a3d14aac986ca && \ go install golang.org/x/lint/golint RUN go get -d github.com/alecthomas/gometalinter && \