diff options
Diffstat (limited to 'Dockerfile.alltools')
-rw-r--r-- | Dockerfile.alltools | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile.alltools b/Dockerfile.alltools index 1047738d2..2175edbcb 100644 --- a/Dockerfile.alltools +++ b/Dockerfile.alltools @@ -12,4 +12,10 @@ 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 |