1 Star 0 Fork 0

杨武兵 / go-ethereum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 423 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Build Geth in a stock Go builder container
FROM golang:1.10-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers
ADD . /go-ethereum
RUN cd /go-ethereum && make geth
# Pull Geth into a second stage deploy alpine container
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
ENTRYPOINT ["geth"]
1
https://gitee.com/ywbrj042/go-ethereum.git
git@gitee.com:ywbrj042/go-ethereum.git
ywbrj042
go-ethereum
go-ethereum
master

搜索帮助