FROM golang:latest RUN curl https://glide.sh/get | sh RUN mkdir -p /go/src/github.com/tendermint/tendermint/p2p WORKDIR /go/src/github.com/tendermint/tendermint/p2p COPY glide.yaml /go/src/github.com/tendermint/tendermint/p2p/ COPY glide.lock /go/src/github.com/tendermint/tendermint/p2p/ RUN glide install COPY . /go/src/github.com/tendermint/tendermint/p2p