Browse Source

[localnet] execute cmd from root

not secure, but we don't care because it's local tooling
pull/1453/head
Anton Kaliaev 7 years ago
parent
commit
f8ed578325
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      docker-compose/localnode/Dockerfile

+ 2
- 5
docker-compose/localnode/Dockerfile View File

@ -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…
Cancel
Save