Added automated dockerfile

This commit is contained in:
Greg Szabo 2018-03-30 23:22:08 -04:00
parent 5cb7e151fb
commit 043ba85a9e
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,23 @@
FROM alpine:3.7
MAINTAINER Greg Szabo <greg@tendermint.com>
#Default home for tendermint
ENV TMHOME /tendermint
RUN apk --no-cache update && \
apk --no-cache upgrade && \
apk add --no-cache bash curl jq openssl && \
mkdir -p $TMHOME && \
addgroup tmuser && \
adduser -S -G tmuser tmuser && \
chown -R tmuser:tmuser $TMHOME
VOLUME [ $TMHOME ]
EXPOSE 46656 46657
ENTRYPOINT ["/usr/bin/tendermint"]
CMD ["node", "--moniker=`hostname`"]
WORKDIR $TMHOME
STOPSIGNAL SIGTERM
ARG BINARY=tendermint
COPY $BINARY /usr/bin/tendermint

View File

@ -0,0 +1 @@
This is a temporary folder to contain the Dockerfile used for automated builds, until it is merged with the tendermint repository.