mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
Dockerfile*: change ownership of /root to prevent puppeth breakage
This commit is contained in:
parent
2d53be8387
commit
20a7ef40ac
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue