From 20a7ef40ac52e4a594690f21b28d020f7a6f801d Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Fri, 9 Feb 2018 21:57:53 +0100 Subject: [PATCH] Dockerfile*: change ownership of /root to prevent puppeth breakage --- Dockerfile | 3 ++- Dockerfile.alltools | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59a4f6493b..54fb12944a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,8 @@ 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 -D -u 1000 -G geth geth && \ + chown geth:geth /root USER geth diff --git a/Dockerfile.alltools b/Dockerfile.alltools index bc245379b5..c9218a2b0e 100644 --- a/Dockerfile.alltools +++ b/Dockerfile.alltools @@ -13,7 +13,8 @@ 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 -D -u 1000 -G geth geth \ + chown geth:geth /root USER geth