From 96a6c8ba0a814a298e0abeb78825a70769cc57c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 23 Apr 2018 15:26:15 +0300 Subject: [PATCH] Dockerfile: revert the user change PR that broke all APIs --- Dockerfile | 6 ------ Dockerfile.alltools | 6 ------ 2 files changed, 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5f450d19b..29cdc80f96 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 2175edbcb7..1047738d25 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