Merge pull request #244 from carlonelong/master

Fix go get golang.org/x/* packages timed out issue.
pull/257/head
Darren Shepherd 2019-03-22 14:00:10 -07:00 committed by GitHub
commit cf666a79ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 && \