[localnet] execute cmd from root
not secure, but we don't care because it's local tooling
This commit is contained in:
parent
5babaf9a88
commit
f8ed578325
|
@ -3,11 +3,8 @@ 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
|
||||
apk --no-cache add curl jq file
|
||||
|
||||
USER tmuser
|
||||
VOLUME [ /tendermint ]
|
||||
WORKDIR /tendermint
|
||||
EXPOSE 46656 46657
|
||||
|
@ -15,5 +12,5 @@ ENTRYPOINT ["/usr/bin/wrapper.sh"]
|
|||
CMD ["node", "--proxy_app dummy"]
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
COPY --chown=tmuser:tmuser wrapper.sh /usr/bin/wrapper.sh
|
||||
COPY wrapper.sh /usr/bin/wrapper.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue