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.

28 lines
657 B

  1. # Pull base image.
  2. FROM golang:1.6
  3. # Grab deps (jq, hexdump, xxd, killall)
  4. RUN apt-get update && \
  5. apt-get install -y --no-install-recommends \
  6. jq bsdmainutils vim-common psmisc
  7. # Setup tendermint repo with vendored dependencies
  8. # but without code - docker caching prevents reinstall on code change!
  9. ENV REPO $GOPATH/src/github.com/tendermint/tendermint
  10. WORKDIR $REPO
  11. ADD glide.yaml glide.yaml
  12. ADD glide.lock glide.lock
  13. ADD Makefile Makefile
  14. RUN make get_vendor_deps
  15. # Now copy in the code
  16. COPY . $REPO
  17. RUN go install ./cmd/tendermint
  18. RUN bash scripts/install_tmsp_apps.sh
  19. # expose the volume for debugging
  20. VOLUME $REPO
  21. EXPOSE 46656
  22. EXPOSE 46657