Skip to content

Commit

Permalink
Merge pull request #16552 from karalabe/revert-docker-user
Browse files Browse the repository at this point in the history
Dockerfile: revert the user change PR that broke all APIs
  • Loading branch information
karalabe authored Apr 23, 2018
2 parents 7d2c730 + 96a6c8b commit 16a78b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,5 @@ FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/

RUN addgroup -g 1000 geth && \
adduser -h /root -D -u 1000 -G geth geth && \
chown geth:geth /root

USER geth

EXPOSE 8545 8546 30303 30303/udp 30304/udp
ENTRYPOINT ["geth"]
6 changes: 0 additions & 6 deletions Dockerfile.alltools
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,4 @@ FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/

RUN addgroup -g 1000 geth && \
adduser -h /root -D -u 1000 -G geth geth \
chown geth:geth /root

USER geth

EXPOSE 8545 8546 30303 30303/udp 30304/udp

0 comments on commit 16a78b0

Please sign in to comment.