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