fix: fix the `make localnet-start` (#10765)

This commit is contained in:
Sai Kumar 2021-12-14 14:56:09 +05:30 committed by GitHub
parent c7e2305286
commit 9eadb5ac47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -486,7 +486,7 @@ localnet-build-dlv:
localnet-build-nodes: localnet-build-nodes:
$(DOCKER) run --rm -v $(CURDIR)/.testnets:/data cosmossdk/simd \ $(DOCKER) run --rm -v $(CURDIR)/.testnets:/data cosmossdk/simd \
testnet init-files --v 4 --starting-ip-address 192.168.10.2 --keyring-backend=test testnet init-files --v 4 -o /data --starting-ip-address 192.168.10.2 --keyring-backend=test
docker-compose up -d docker-compose up -d
localnet-stop: localnet-stop:

View File

@ -3,6 +3,8 @@ RUN apk add build-base git linux-headers
WORKDIR /work WORKDIR /work
COPY go.mod go.sum /work/ COPY go.mod go.sum /work/
COPY db/go.mod db/go.sum /work/db/ COPY db/go.mod db/go.sum /work/db/
COPY x/group/go.mod x/group/go.sum /work/x/group/
RUN go mod download RUN go mod download
COPY ./ /work COPY ./ /work
RUN LEDGER_ENABLED=false make clean build RUN LEDGER_ENABLED=false make clean build