mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
077ccabc45
This PR chnages allow user to configure VxLAN UDP port number. By default we use 4789 port number. But this commit will allow user to configure port number during swarm init. VxLAN port can't be modified after swarm init. Signed-off-by: selansen <elango.siva@docker.com>
21 lines
583 B
Docker
21 lines
583 B
Docker
FROM golang:1.10.2 as dev
|
|
RUN apt-get update && apt-get -y install iptables \
|
|
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 golang.org/x/lint/golint \
|
|
golang.org/x/tools/cmd/cover \
|
|
github.com/mattn/goveralls \
|
|
github.com/gordonklaus/ineffassign \
|
|
github.com/client9/misspell/cmd/misspell \
|
|
honnef.co/go/tools/cmd/gosimple
|
|
|
|
WORKDIR /go/src/github.com/docker/libnetwork
|
|
|
|
FROM dev
|
|
|
|
COPY . .
|