From 2641af840aa3cda0f54732f261f973b2efb6aac9 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Fri, 9 Feb 2018 22:14:02 +0100 Subject: [PATCH] Dockerfile*: set geth home to /root --- Dockerfile | 2 +- Dockerfile.alltools | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54fb12944a..6a5b7ffe0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apk add --no-cache ca-certificates COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/ RUN addgroup -g 1000 geth && \ - adduser -D -u 1000 -G geth geth && \ + adduser -h /root -D -u 1000 -G geth geth && \ chown geth:geth /root USER geth diff --git a/Dockerfile.alltools b/Dockerfile.alltools index c9218a2b0e..cf080ff0d5 100644 --- a/Dockerfile.alltools +++ b/Dockerfile.alltools @@ -13,7 +13,7 @@ RUN apk add --no-cache ca-certificates COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/ RUN addgroup -g 1000 geth && \ - adduser -D -u 1000 -G geth geth \ + adduser -h /root -D -u 1000 -G geth geth \ chown geth:geth /root USER geth