mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
22 lines
588 B
Docker
22 lines
588 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 github.com/golang/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 . .
|