mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
add hack to dockerfile
This commit is contained in:
parent
04f7fe468a
commit
e95b63d404
@ -7,7 +7,7 @@ WORKDIR /app
|
||||
ADD . .
|
||||
|
||||
# expect that host run `git submodule update --init`
|
||||
RUN make erigon rpcdaemon integration sentry
|
||||
RUN make all
|
||||
|
||||
FROM docker.io/library/alpine:3.14
|
||||
|
||||
|
7
Makefile
7
Makefile
@ -11,7 +11,7 @@ GO_DBG_BUILD = $(GO) build -trimpath -tags=debug -ldflags "-X github.com/ledgerw
|
||||
GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
|
||||
GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
|
||||
|
||||
all: erigon hack rpctest state pics rpcdaemon integration db-tools sentry
|
||||
all: erigon hack rpctest state pics rpcdaemon integration db-tools sentry txpool
|
||||
|
||||
go-version:
|
||||
@if [ $(GO_MINOR_VERSION) -lt 16 ]; then \
|
||||
@ -69,6 +69,11 @@ rpcdaemon:
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/rpcdaemon\" to launch rpcdaemon."
|
||||
|
||||
txpool:
|
||||
$(GOBUILD) -o $(GOBIN)/txpool ./cmd/txpool
|
||||
@echo "Done building."
|
||||
@echo "Run \"$(GOBIN)/txpool\" to launch txpool."
|
||||
|
||||
integration:
|
||||
$(GOBUILD) -o $(GOBIN)/integration ./cmd/integration
|
||||
@echo "Done building."
|
||||
|
Loading…
Reference in New Issue
Block a user