[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 && \
|
RUN apk update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk --no-cache add curl jq file && \
|
apk --no-cache add curl jq file
|
||||||
addgroup tmuser && \
|
|
||||||
adduser -S -G tmuser tmuser -h /tendermint
|
|
||||||
|
|
||||||
USER tmuser
|
|
||||||
VOLUME [ /tendermint ]
|
VOLUME [ /tendermint ]
|
||||||
WORKDIR /tendermint
|
WORKDIR /tendermint
|
||||||
EXPOSE 46656 46657
|
EXPOSE 46656 46657
|
||||||
|
@ -15,5 +12,5 @@ ENTRYPOINT ["/usr/bin/wrapper.sh"]
|
||||||
CMD ["node", "--proxy_app dummy"]
|
CMD ["node", "--proxy_app dummy"]
|
||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
COPY --chown=tmuser:tmuser wrapper.sh /usr/bin/wrapper.sh
|
COPY wrapper.sh /usr/bin/wrapper.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue