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.

21 lines
553 B

  1. FROM ubuntu:16.04
  2. MAINTAINER Greg Szabo <greg@tendermint.com>
  3. #Default home for tendermint. The node command will look for $TMHOME/config/genesis.json at initialization.
  4. ENV TMHOME /tendermint
  5. RUN apt-get -y update && \
  6. apt-get -y upgrade && \
  7. apt-get -y install curl jq && \
  8. adduser --system --home "$TMHOME" --group tmuser
  9. USER tmuser
  10. VOLUME [ $TMHOME ]
  11. WORKDIR $TMHOME
  12. EXPOSE 46656 46657
  13. ENTRYPOINT ["/usr/bin/tendermint"]
  14. CMD ["node", "--moniker=`hostname`"]
  15. STOPSIGNAL SIGTERM
  16. ARG BINARY=tendermint
  17. COPY $BINARY /usr/bin/tendermint