Browse Source

Added automated dockerfile

pull/1943/head
Greg Szabo 7 years ago
parent
commit
043ba85a9e
2 changed files with 24 additions and 0 deletions
  1. +23
    -0
      docker/tendermint-automated/Dockerfile
  2. +1
    -0
      docker/tendermint-automated/README.rst

+ 23
- 0
docker/tendermint-automated/Dockerfile 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

+ 1
- 0
docker/tendermint-automated/README.rst 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.

Loading…
Cancel
Save