Skip to content

Commit

Permalink
rollback bor user and use root
Browse files Browse the repository at this point in the history
  • Loading branch information
rekibnikufesin committed Nov 23, 2022
1 parent 01e05cd commit 5fe83d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 5fe83d3

Please sign in to comment.