Skip to content

Commit 16a78b0

Browse files
authored
Merge pull request #16552 from karalabe/revert-docker-user
Dockerfile: revert the user change PR that broke all APIs
2 parents 7d2c730 + 96a6c8b commit 16a78b0

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,5 @@ FROM alpine:latest
1212
RUN apk add --no-cache ca-certificates
1313
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
1414

15-
RUN addgroup -g 1000 geth && \
16-
adduser -h /root -D -u 1000 -G geth geth && \
17-
chown geth:geth /root
18-
19-
USER geth
20-
2115
EXPOSE 8545 8546 30303 30303/udp 30304/udp
2216
ENTRYPOINT ["geth"]

Dockerfile.alltools

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ FROM alpine:latest
1212
RUN apk add --no-cache ca-certificates
1313
COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/
1414

15-
RUN addgroup -g 1000 geth && \
16-
adduser -h /root -D -u 1000 -G geth geth \
17-
chown geth:geth /root
18-
19-
USER geth
20-
2115
EXPOSE 8545 8546 30303 30303/udp 30304/udp

0 commit comments

Comments
 (0)