mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Merge pull request #594 from maticnetwork/wbutton/docker-user-rollback
Docker User
This commit is contained in:
commit
58a63147f2
2 changed files with 0 additions and 8 deletions
|
|
@ -12,9 +12,6 @@ COPY . .
|
|||
RUN make bor
|
||||
|
||||
RUN cp build/bin/bor /usr/bin/
|
||||
RUN groupadd -g 10137 bor \
|
||||
&& useradd -u 10137 --no-log-init --create-home -r -g bor bor \
|
||||
&& chown -R bor:bor ${BOR_DIR}
|
||||
|
||||
ENV SHELL /bin/bash
|
||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||
|
|
|
|||
|
|
@ -10,11 +10,6 @@ WORKDIR ${BOR_DIR}
|
|||
COPY bor /usr/bin/
|
||||
COPY builder/files/genesis-mainnet-v1.json ${BOR_DIR}
|
||||
COPY builder/files/genesis-testnet-v4.json ${BOR_DIR}
|
||||
RUN groupadd -g 10137 bor \
|
||||
&& useradd -u 10137 --no-log-init --create-home -r -g bor bor \
|
||||
&& chown -R bor:bor ${BOR_DIR}
|
||||
|
||||
USER bor
|
||||
|
||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||
ENTRYPOINT ["bor"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue