aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-04-23 20:27:24 +0800
committerGitHub <noreply@github.com>2018-04-23 20:27:24 +0800
commit16a78b095ee58e650fab19f5a2b2cd3927ba027c (patch)
tree25268b4b47b58f01c669f84ff72ab45023008da8 /Dockerfile
parent7d2c730acb63a5faeb74363ffa684dbfee6c3c01 (diff)
parent96a6c8ba0a814a298e0abeb78825a70769cc57c9 (diff)
downloaddexon-16a78b095ee58e650fab19f5a2b2cd3927ba027c.tar.gz
dexon-16a78b095ee58e650fab19f5a2b2cd3927ba027c.tar.zst
dexon-16a78b095ee58e650fab19f5a2b2cd3927ba027c.zip
Merge pull request #16552 from karalabe/revert-docker-user
Dockerfile: revert the user change PR that broke all APIs
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 0 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index a5f450d19..29cdc80f9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]