2019-01-23 10:34:44 -05:00
|
|
|
FROM golang:1.10.7 as dev
|
2018-06-20 12:20:49 -04:00
|
|
|
RUN apt-get update && apt-get -y install iptables \
|
|
|
|
protobuf-compiler
|
2018-05-29 16:53:19 -04:00
|
|
|
|
2018-07-25 10:39:31 -04:00
|
|
|
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
|
|
|
|
|
2018-11-01 13:08:29 -04:00
|
|
|
RUN go get golang.org/x/lint/golint \
|
2018-05-29 16:53:19 -04:00
|
|
|
golang.org/x/tools/cmd/cover \
|
|
|
|
github.com/mattn/goveralls \
|
|
|
|
github.com/gordonklaus/ineffassign \
|
2019-05-31 16:52:43 -04:00
|
|
|
github.com/client9/misspell/cmd/misspell
|
2018-05-29 16:53:19 -04:00
|
|
|
|
|
|
|
WORKDIR /go/src/github.com/docker/libnetwork
|
|
|
|
|
2018-06-19 20:19:16 -04:00
|
|
|
FROM dev
|
|
|
|
|
2018-05-29 16:53:19 -04:00
|
|
|
COPY . .
|