mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2242 from euanh/pin-gogoprotobuf
Dockerfile: Install a fixed version of gogoprotobuf
This commit is contained in:
commit
3321709a62
1 changed files with 6 additions and 2 deletions
|
@ -2,13 +2,17 @@ FROM golang:1.10.2 as dev
|
||||||
RUN apt-get update && apt-get -y install iptables \
|
RUN apt-get update && apt-get -y install iptables \
|
||||||
protobuf-compiler
|
protobuf-compiler
|
||||||
|
|
||||||
|
RUN go get -d github.com/gogo/protobuf/protoc-gen-gogo && \
|
||||||
|
cd /go/src/github.com/gogo/protobuf/protoc-gen-gogo && \
|
||||||
|
git reset --hard 30cf7ac33676b5786e78c746683f0d4cd64fa75b && \
|
||||||
|
go install
|
||||||
|
|
||||||
RUN go get github.com/golang/lint/golint \
|
RUN go get github.com/golang/lint/golint \
|
||||||
golang.org/x/tools/cmd/cover \
|
golang.org/x/tools/cmd/cover \
|
||||||
github.com/mattn/goveralls \
|
github.com/mattn/goveralls \
|
||||||
github.com/gordonklaus/ineffassign \
|
github.com/gordonklaus/ineffassign \
|
||||||
github.com/client9/misspell/cmd/misspell \
|
github.com/client9/misspell/cmd/misspell \
|
||||||
honnef.co/go/tools/cmd/gosimple \
|
honnef.co/go/tools/cmd/gosimple
|
||||||
github.com/gogo/protobuf/protoc-gen-gogo
|
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/docker/libnetwork
|
WORKDIR /go/src/github.com/docker/libnetwork
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue