Use external main module

* renames main package so it's importable
* adds wrapmain sub-module as main module
This commit is contained in:
roysc authored and jonathan@vulcanize.io committed 2024-03-13 23:56:05 +00:00
1 parent 1a89183720
commit e9c8a528d4
26 files changed
+1073 -41

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ COPY go.sum /go-ethereum/
RUN cd /go-ethereum && go mod download
ADD . /go-ethereum
RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth
RUN cd /go-ethereum/wrapmain && go build --trimpath -o /go-ethereum/build/bin/geth .
# Pull Geth into a second stage deploy alpine container
FROM alpine:latest