add hack to dockerfile

This commit is contained in:
alex.sharov 2021-10-31 07:39:47 +07:00
parent 04f7fe468a
commit e95b63d404
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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."