Closed realcodywburns closed 5 years ago
This is a bit more complicated than this ;) Because we probably want to build an image with SputnikVM enabled, and with correct version number compiled in geth
binary. Best option would be to use Makefile
for building, instead of plain go install
. Rust/Cargo is another dependency to install.
this isnt much more complicated. give me a bit
Closing reopening on http://github.com/ethereumclassic/go-ethereum org repo
Adds:
Build Geth in a stock Go builder container
FROM golang:1.11-alpine as builder
RUN apk add --no-cache bash git make gcc musl-dev linux-headers
RUN go get -v github.com/ethereumproject/go-ethereum/... RUN go install github.com/ethereumproject/go-ethereum/cmd/geth RUN cp -R ./bin /usr/local/bin/
EXPOSE 8545:8546 30303:30303/udp ENTRYPOINT ["geth"]
So hub.docker.com/r/ethereumclassic can do auto builds of geth