good morning!!!!

Skip to content
Snippets Groups Projects
Commit c19424d2 authored by alex.sharov's avatar alex.sharov
Browse files

save

parent ca1389dc
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgc
WORKDIR /app
ADD . .
ADD .git .git
# expect that host run `git submodule update --init --recursive --force`
RUN make erigon rpcdaemon integration sentry txpool downloader hack db-tools
......
......@@ -20,6 +20,7 @@ go-version:
fi
docker:
if [ -d ".git" ]; then git submodule update --init --recursive --force; fi
DOCKER_BUILDKIT=1 docker build -t erigon:latest --build-arg git_commit='${GIT_COMMIT}' --build-arg git_branch='${GIT_BRANCH}' --build-arg git_tag='${GIT_TAG}' .
xdg_data_home := ~/.local/share
......@@ -39,7 +40,7 @@ geth: erigon
erigon: go-version
@echo "Building Erigon"
rm -f $(GOBIN)/tg # Remove old binary to prevent confusion where users still use it because of the scripts
git submodule update --init --recursive --force
if [ -d ".git" ]; then git submodule update --init --recursive --force; fi
$(GOBUILD) -o $(GOBIN)/erigon ./cmd/erigon
@echo "Done building."
@echo "Run \"$(GOBIN)/erigon\" to launch Erigon."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment