mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 17:51:39 +00:00
Greg/localnet (#1450)
* Added new Makefile targets for local testnet running using docker * Added localnode docker image description, some documentation and refactored to use the tendermint testnet command * Fixes for the new tendermint testnet command * More fixes on tendermint testnet and docker-compose * Changed logging * Added missing targets to phony
This commit is contained in:
committed by
Anton Kaliaev
parent
1db2224241
commit
c0610b2c32
19
docker-compose/localnode/Dockerfile
Normal file
19
docker-compose/localnode/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM alpine:3.7
|
||||
MAINTAINER Greg Szabo <greg@tendermint.com>
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk --no-cache add curl jq file && \
|
||||
addgroup tmuser && \
|
||||
adduser -S -G tmuser tmuser -h /tendermint
|
||||
|
||||
USER tmuser
|
||||
VOLUME [ /tendermint ]
|
||||
WORKDIR /tendermint
|
||||
EXPOSE 46656 46657
|
||||
ENTRYPOINT ["/usr/bin/wrapper.sh"]
|
||||
CMD ["node", "--proxy_app dummy"]
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
COPY --chown=tmuser:tmuser wrapper.sh /usr/bin/wrapper.sh
|
||||
|
Reference in New Issue
Block a user