浏览代码

Dockerfile: revert the user change PR that broke all APIs

Péter Szilágyi 7 年之前
父节点
当前提交
96a6c8ba0a
共有 2 个文件被更改,包括 0 次插入12 次删除
  1. 0 6
      Dockerfile
  2. 0 6
      Dockerfile.alltools

+ 0 - 6
Dockerfile

@@ -12,11 +12,5 @@ FROM alpine:latest
 RUN apk add --no-cache ca-certificates
 COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
 
-RUN addgroup -g 1000 geth && \
-    adduser -h /root -D -u 1000 -G geth geth && \
-    chown geth:geth /root
-
-USER geth
-
 EXPOSE 8545 8546 30303 30303/udp 30304/udp
 ENTRYPOINT ["geth"]

+ 0 - 6
Dockerfile.alltools

@@ -12,10 +12,4 @@ FROM alpine:latest
 RUN apk add --no-cache ca-certificates
 COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/
 
-RUN addgroup -g 1000 geth && \
-    adduser -h /root -D -u 1000 -G geth geth \
-    chown geth:geth /root
-
-USER geth
-
 EXPOSE 8545 8546 30303 30303/udp 30304/udp