diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-04-23 20:26:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-04-23 20:26:15 +0800 |
commit | 96a6c8ba0a814a298e0abeb78825a70769cc57c9 (patch) | |
tree | 25268b4b47b58f01c669f84ff72ab45023008da8 | |
parent | 7d2c730acb63a5faeb74363ffa684dbfee6c3c01 (diff) | |
download | dexon-96a6c8ba0a814a298e0abeb78825a70769cc57c9.tar.gz dexon-96a6c8ba0a814a298e0abeb78825a70769cc57c9.tar.zst dexon-96a6c8ba0a814a298e0abeb78825a70769cc57c9.zip |
Dockerfile: revert the user change PR that broke all APIs
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | Dockerfile.alltools | 6 |
2 files changed, 0 insertions, 12 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"] diff --git a/Dockerfile.alltools b/Dockerfile.alltools index 2175edbcb..1047738d2 100644 --- a/Dockerfile.alltools +++ b/Dockerfile.alltools @@ -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 |