github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/libnetwork/Dockerfile (about)

     1  ARG GO_VERSION=1.13.8
     2  
     3  FROM golang:${GO_VERSION}-buster as dev
     4  RUN apt-get update && apt-get -y install iptables \
     5  		protobuf-compiler
     6  
     7  RUN go get -d github.com/gogo/protobuf/protoc-gen-gogo && \
     8  		cd /go/src/github.com/gogo/protobuf/protoc-gen-gogo && \
     9  		git reset --hard 30cf7ac33676b5786e78c746683f0d4cd64fa75b && \
    10  		go install
    11  
    12  RUN go get golang.org/x/lint/golint \
    13  		golang.org/x/tools/cmd/cover \
    14  		github.com/mattn/goveralls \
    15  		github.com/gordonklaus/ineffassign \
    16  		github.com/client9/misspell/cmd/misspell
    17  
    18  WORKDIR /go/src/github.com/docker/libnetwork
    19  
    20  FROM dev
    21  
    22  COPY . .