Skip to content

Commit

Permalink
Attempts to fix the liner problem (ethereum#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobigurk authored and Asa Oines committed Nov 27, 2019
1 parent 58165d1 commit fb8b6b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ARG COMMIT_SHA
RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
RUN echo $COMMIT_SHA > /version.txt
ADD scripts/run_geth_in_docker.sh /

EXPOSE 8545 8546 30303 30303/udp
ENTRYPOINT ["geth"]
ENTRYPOINT ["sh", "/run_geth_in_docker.sh"]
3 changes: 3 additions & 0 deletions scripts/run_geth_in_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 150 is an arbitrary choice, which seems good enough
stty cols 150
geth "$@"

0 comments on commit fb8b6b8

Please sign in to comment.