mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Add db-tools to Dockerfile (#2950)
This commit is contained in:
parent
a902880e99
commit
5fb1a4ce49
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
shell: powershell
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: git submodule update --init --recursive --force
|
||||
|
@ -7,7 +7,7 @@ WORKDIR /app
|
||||
ADD . .
|
||||
|
||||
# expect that host run `git submodule update --init`
|
||||
RUN make erigon rpcdaemon integration sentry hack
|
||||
RUN make erigon rpcdaemon integration sentry hack db-tools
|
||||
|
||||
FROM docker.io/library/alpine:3.14
|
||||
|
||||
|
5
Makefile
5
Makefile
@ -110,9 +110,10 @@ tracker:
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/tracker\" to run snapshots tracker."
|
||||
|
||||
db-tools: libmdbx
|
||||
db-tools:
|
||||
@echo "Building db-tools"
|
||||
git submodule update --init --recursive
|
||||
rm -rf libmdbx # hub.docker.com setup incorrect gitpath for git modules. Just remove it and re-init submodule.
|
||||
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