Skip to content

Commit 9ffeaf7

Browse files
author
Flavio Crisciani
authored
Merge pull request #2242 from euanh/pin-gogoprotobuf
Dockerfile: Install a fixed version of gogoprotobuf
2 parents f30a35b + 52cb776 commit 9ffeaf7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ FROM golang:1.10.2 as dev
22
RUN apt-get update && apt-get -y install iptables \
33
protobuf-compiler
44

5+
RUN go get -d github.com/gogo/protobuf/protoc-gen-gogo && \
6+
cd /go/src/github.com/gogo/protobuf/protoc-gen-gogo && \
7+
git reset --hard 30cf7ac33676b5786e78c746683f0d4cd64fa75b && \
8+
go install
9+
510
RUN go get github.com/golang/lint/golint \
611
golang.org/x/tools/cmd/cover \
712
github.com/mattn/goveralls \
813
github.com/gordonklaus/ineffassign \
914
github.com/client9/misspell/cmd/misspell \
10-
honnef.co/go/tools/cmd/gosimple \
11-
github.com/gogo/protobuf/protoc-gen-gogo
15+
honnef.co/go/tools/cmd/gosimple
1216

1317
WORKDIR /go/src/github.com/docker/libnetwork
1418

0 commit comments

Comments
 (0)