You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
593 B

  1. FROM golang:latest
  2. RUN mkdir -p /go/src/github.com/tendermint/abci
  3. WORKDIR /go/src/github.com/tendermint/abci
  4. COPY Makefile /go/src/github.com/tendermint/abci/
  5. # see make protoc for details on ldconfig
  6. RUN make get_protoc && ldconfig
  7. # killall is used in tests
  8. RUN apt-get update && apt-get install -y \
  9. psmisc \
  10. && rm -rf /var/lib/apt/lists/*
  11. COPY Gopkg.toml /go/src/github.com/tendermint/abci/
  12. COPY Gopkg.lock /go/src/github.com/tendermint/abci/
  13. RUN make tools
  14. # see https://github.com/golang/dep/issues/1312
  15. RUN dep ensure -vendor-only
  16. COPY . /go/src/github.com/tendermint/abci