mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
init recursive git submodules on dockerhub (#3132)
* init recursive git submodules on dockerhub * 32 * default * 32 * default * save
This commit is contained in:
parent
d836e9e2d7
commit
37f0dcecc1
@ -7,7 +7,7 @@ WORKDIR /app
|
||||
ADD . .
|
||||
|
||||
# expect that host run `git submodule update --init`
|
||||
RUN make erigon rpcdaemon integration sentry hack db-tools
|
||||
RUN make erigon rpcdaemon integration sentry txpool downloader hack db-tools
|
||||
|
||||
FROM docker.io/library/alpine:3.14
|
||||
|
||||
|
23
Makefile
23
Makefile
@ -95,20 +95,10 @@ evm:
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/evm\" to run EVM"
|
||||
|
||||
seeder:
|
||||
$(GOBUILD) -o $(GOBIN)/seeder ./cmd/snapshots/seeder
|
||||
downloader:
|
||||
$(GOBUILD) -o $(GOBIN)/downloader ./cmd/downloader
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/seeder\" to seed snapshots."
|
||||
|
||||
sndownloader:
|
||||
$(GOBUILD) -o $(GOBIN)/sndownloader ./cmd/snapshots/downloader
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/sndownloader\" to seed snapshots."
|
||||
|
||||
tracker:
|
||||
$(GOBUILD) -o $(GOBIN)/tracker ./cmd/snapshots/tracker
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/tracker\" to run snapshots tracker."
|
||||
@echo "Run \"$(GOBIN)/downloader\" to download and seed snapshots."
|
||||
|
||||
devnettest:
|
||||
$(GOBUILD) -o $(GOBIN)/devnettest ./cmd/devnettest
|
||||
@ -117,8 +107,13 @@ devnettest:
|
||||
|
||||
db-tools:
|
||||
@echo "Building db-tools"
|
||||
rm -rf libmdbx # hub.docker.com setup incorrect gitpath for git modules. Just remove it and re-init submodule.
|
||||
|
||||
# hub.docker.com setup incorrect gitpath for git modules. Just remove it and re-init submodule.
|
||||
rm -rf libmdbx
|
||||
rm -rf cmd/downloader/trackers/trackerslist
|
||||
rm -rf turbo/snapshotsync/snapshothashes/erigon-snapshots
|
||||
git submodule update --init --recursive --force
|
||||
|
||||
cd libmdbx && MDBX_BUILD_TIMESTAMP=unknown make tools
|
||||
cp libmdbx/mdbx_chk $(GOBIN)
|
||||
cp libmdbx/mdbx_copy $(GOBIN)
|
||||
|
Loading…
Reference in New Issue
Block a user